Package net.minecraft.util
Class TextifiedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.minecraft.util.TextifiedException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AbuseReportSender.AbuseReportException,MessageChain.MessageChainException,PlayerPublicKey.PublicKeyException
An exception that has a user-friendly
Text attached.- See Also:
- Mappings:
Namespace Name official tvintermediary net/minecraft/class_7437named net/minecraft/util/TextifiedException
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTextifiedException(Text messageText) TextifiedException(Text messageText, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
messageText
- Mappings:
Namespace Name Mixin selector official aLtv;a:Lsw;intermediary field_39084Lnet/minecraft/class_7437;field_39084:Lnet/minecraft/class_2561;named messageTextLnet/minecraft/util/TextifiedException;messageText:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
TextifiedException
- Mappings:
Namespace Name Mixin selector official <init>Ltv;<init>(Lsw;)Vintermediary <init>Lnet/minecraft/class_7437;<init>(Lnet/minecraft/class_2561;)Vnamed <init>Lnet/minecraft/util/TextifiedException;<init>(Lnet/minecraft/text/Text;)V
-
TextifiedException
- Mappings:
Namespace Name Mixin selector official <init>Ltv;<init>(Lsw;Ljava/lang/Throwable;)Vintermediary <init>Lnet/minecraft/class_7437;<init>(Lnet/minecraft/class_2561;Ljava/lang/Throwable;)Vnamed <init>Lnet/minecraft/util/TextifiedException;<init>(Lnet/minecraft/text/Text;Ljava/lang/Throwable;)V
-
-
Method Details
-
getMessageText
Returns the exception's message text.- Returns:
- the exception's message text
- Mappings:
Namespace Name Mixin selector official bLtv;b()Lsw;intermediary method_43626Lnet/minecraft/class_7437;method_43626()Lnet/minecraft/class_2561;named getMessageTextLnet/minecraft/util/TextifiedException;getMessageText()Lnet/minecraft/text/Text;
-