Class TranslationException

All Implemented Interfaces:
Serializable

public class TranslationException extends IllegalArgumentException
See Also:
Mappings:
Namespace Name
named net/minecraft/text/TranslationException
intermediary net/minecraft/class_2590
official zh
  • Constructor Details

    • TranslationException

      public TranslationException(TranslatableTextContent text, String message)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/text/TranslationException;<init>(Lnet/minecraft/text/TranslatableTextContent;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_2590;<init>(Lnet/minecraft/class_2588;Ljava/lang/String;)V
      official <init> Lzh;<init>(Lzg;Ljava/lang/String;)V
    • TranslationException

      public TranslationException(TranslatableTextContent text, int index)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/text/TranslationException;<init>(Lnet/minecraft/text/TranslatableTextContent;I)V
      intermediary <init> Lnet/minecraft/class_2590;<init>(Lnet/minecraft/class_2588;I)V
      official <init> Lzh;<init>(Lzg;I)V
    • TranslationException

      public TranslationException(TranslatableTextContent text, Throwable cause)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/text/TranslationException;<init>(Lnet/minecraft/text/TranslatableTextContent;Ljava/lang/Throwable;)V
      intermediary <init> Lnet/minecraft/class_2590;<init>(Lnet/minecraft/class_2588;Ljava/lang/Throwable;)V
      official <init> Lzh;<init>(Lzg;Ljava/lang/Throwable;)V