Enum Class SystemToast.Type

java.lang.Object
java.lang.Enum<SystemToast.Type>
net.minecraft.client.toast.SystemToast.Type
All Implemented Interfaces:
Serializable, Comparable<SystemToast.Type>, Constable
Enclosing class:
SystemToast

@Environment(CLIENT) public static enum SystemToast.Type extends Enum<SystemToast.Type>
Mappings:
Namespace Name
official emn$a
intermediary net/minecraft/class_370$class_371
named net/minecraft/client/toast/SystemToast$Type
  • Enum Constant Details

    • TUTORIAL_HINT

      public static final SystemToast.Type TUTORIAL_HINT
      Mappings:
      Namespace Name Mixin selector
      official a Lemn$a;a:Lemn$a;
      intermediary field_2218 Lnet/minecraft/class_370$class_371;field_2218:Lnet/minecraft/class_370$class_371;
      named TUTORIAL_HINT Lnet/minecraft/client/toast/SystemToast$Type;TUTORIAL_HINT:Lnet/minecraft/client/toast/SystemToast$Type;
    • NARRATOR_TOGGLE

      public static final SystemToast.Type NARRATOR_TOGGLE
      Mappings:
      Namespace Name Mixin selector
      official b Lemn$a;b:Lemn$a;
      intermediary field_2219 Lnet/minecraft/class_370$class_371;field_2219:Lnet/minecraft/class_370$class_371;
      named NARRATOR_TOGGLE Lnet/minecraft/client/toast/SystemToast$Type;NARRATOR_TOGGLE:Lnet/minecraft/client/toast/SystemToast$Type;
    • WORLD_BACKUP

      public static final SystemToast.Type WORLD_BACKUP
      Mappings:
      Namespace Name Mixin selector
      official c Lemn$a;c:Lemn$a;
      intermediary field_2220 Lnet/minecraft/class_370$class_371;field_2220:Lnet/minecraft/class_370$class_371;
      named WORLD_BACKUP Lnet/minecraft/client/toast/SystemToast$Type;WORLD_BACKUP:Lnet/minecraft/client/toast/SystemToast$Type;
    • WORLD_GEN_SETTINGS_TRANSFER

      public static final SystemToast.Type WORLD_GEN_SETTINGS_TRANSFER
      Mappings:
      Namespace Name Mixin selector
      official d Lemn$a;d:Lemn$a;
      intermediary field_25039 Lnet/minecraft/class_370$class_371;field_25039:Lnet/minecraft/class_370$class_371;
      named WORLD_GEN_SETTINGS_TRANSFER Lnet/minecraft/client/toast/SystemToast$Type;WORLD_GEN_SETTINGS_TRANSFER:Lnet/minecraft/client/toast/SystemToast$Type;
    • PACK_LOAD_FAILURE

      public static final SystemToast.Type PACK_LOAD_FAILURE
      Mappings:
      Namespace Name Mixin selector
      official e Lemn$a;e:Lemn$a;
      intermediary field_21809 Lnet/minecraft/class_370$class_371;field_21809:Lnet/minecraft/class_370$class_371;
      named PACK_LOAD_FAILURE Lnet/minecraft/client/toast/SystemToast$Type;PACK_LOAD_FAILURE:Lnet/minecraft/client/toast/SystemToast$Type;
    • WORLD_ACCESS_FAILURE

      public static final SystemToast.Type WORLD_ACCESS_FAILURE
      Mappings:
      Namespace Name Mixin selector
      official f Lemn$a;f:Lemn$a;
      intermediary field_23774 Lnet/minecraft/class_370$class_371;field_23774:Lnet/minecraft/class_370$class_371;
      named WORLD_ACCESS_FAILURE Lnet/minecraft/client/toast/SystemToast$Type;WORLD_ACCESS_FAILURE:Lnet/minecraft/client/toast/SystemToast$Type;
    • PACK_COPY_FAILURE

      public static final SystemToast.Type PACK_COPY_FAILURE
      Mappings:
      Namespace Name Mixin selector
      official g Lemn$a;g:Lemn$a;
      intermediary field_25445 Lnet/minecraft/class_370$class_371;field_25445:Lnet/minecraft/class_370$class_371;
      named PACK_COPY_FAILURE Lnet/minecraft/client/toast/SystemToast$Type;PACK_COPY_FAILURE:Lnet/minecraft/client/toast/SystemToast$Type;
    • PERIODIC_NOTIFICATION

      public static final SystemToast.Type PERIODIC_NOTIFICATION
      Mappings:
      Namespace Name Mixin selector
      official h Lemn$a;h:Lemn$a;
      intermediary field_36445 Lnet/minecraft/class_370$class_371;field_36445:Lnet/minecraft/class_370$class_371;
      named PERIODIC_NOTIFICATION Lnet/minecraft/client/toast/SystemToast$Type;PERIODIC_NOTIFICATION:Lnet/minecraft/client/toast/SystemToast$Type;
    • UNSECURE_SERVER_WARNING

      public static final SystemToast.Type UNSECURE_SERVER_WARNING
      Mappings:
      Namespace Name Mixin selector
      official i Lemn$a;i:Lemn$a;
      intermediary field_39915 Lnet/minecraft/class_370$class_371;field_39915:Lnet/minecraft/class_370$class_371;
      named UNSECURE_SERVER_WARNING Lnet/minecraft/client/toast/SystemToast$Type;UNSECURE_SERVER_WARNING:Lnet/minecraft/client/toast/SystemToast$Type;
  • Field Details

    • displayDuration

      final long displayDuration
      Mappings:
      Namespace Name Mixin selector
      official j Lemn$a;j:J
      intermediary field_39340 Lnet/minecraft/class_370$class_371;field_39340:J
      named displayDuration Lnet/minecraft/client/toast/SystemToast$Type;displayDuration:J
  • Constructor Details

    • Type

      private Type(long displayDuration)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lemn$a;<init>(Ljava/lang/String;IJ)V
      intermediary <init> Lnet/minecraft/class_370$class_371;<init>(Ljava/lang/String;IJ)V
      named <init> Lnet/minecraft/client/toast/SystemToast$Type;<init>(Ljava/lang/String;IJ)V
    • Type

      private Type()
  • Method Details

    • values

      public static SystemToast.Type[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SystemToast.Type valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null