Enum Class TestEnvironmentDefinition.Weather.State

java.lang.Object
java.lang.Enum<TestEnvironmentDefinition.Weather.State>
net.minecraft.test.TestEnvironmentDefinition.Weather.State
All Implemented Interfaces:
Serializable, Comparable<TestEnvironmentDefinition.Weather.State>, Constable, StringIdentifiable
Enclosing class:
TestEnvironmentDefinition.Weather

public static enum TestEnvironmentDefinition.Weather.State extends Enum<TestEnvironmentDefinition.Weather.State> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/test/TestEnvironmentDefinition$Weather$State
intermediary net/minecraft/class_10665$class_10671$class_10672
official tm$e$a
  • Enum Constant Details Link icon

    • CLEAR Link icon

      public static final TestEnvironmentDefinition.Weather.State CLEAR
      Mappings:
      Namespace Name Mixin selector
      named CLEAR Lnet/minecraft/test/TestEnvironmentDefinition$Weather$State;CLEAR:Lnet/minecraft/test/TestEnvironmentDefinition$Weather$State;
      intermediary field_56208 Lnet/minecraft/class_10665$class_10671$class_10672;field_56208:Lnet/minecraft/class_10665$class_10671$class_10672;
      official a Ltm$e$a;a:Ltm$e$a;
    • RAIN Link icon

      public static final TestEnvironmentDefinition.Weather.State RAIN
      Mappings:
      Namespace Name Mixin selector
      named RAIN Lnet/minecraft/test/TestEnvironmentDefinition$Weather$State;RAIN:Lnet/minecraft/test/TestEnvironmentDefinition$Weather$State;
      intermediary field_56209 Lnet/minecraft/class_10665$class_10671$class_10672;field_56209:Lnet/minecraft/class_10665$class_10671$class_10672;
      official b Ltm$e$a;b:Ltm$e$a;
    • THUNDER Link icon

      public static final TestEnvironmentDefinition.Weather.State THUNDER
      Mappings:
      Namespace Name Mixin selector
      named THUNDER Lnet/minecraft/test/TestEnvironmentDefinition$Weather$State;THUNDER:Lnet/minecraft/test/TestEnvironmentDefinition$Weather$State;
      intermediary field_56210 Lnet/minecraft/class_10665$class_10671$class_10672;field_56210:Lnet/minecraft/class_10665$class_10671$class_10672;
      official c Ltm$e$a;c:Ltm$e$a;
  • Field Details Link icon

    • CODEC Link icon

      public static final com.mojang.serialization.Codec<TestEnvironmentDefinition.Weather.State> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/test/TestEnvironmentDefinition$Weather$State;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_56211 Lnet/minecraft/class_10665$class_10671$class_10672;field_56211:Lcom/mojang/serialization/Codec;
      official d Ltm$e$a;d:Lcom/mojang/serialization/Codec;
    • name Link icon

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/test/TestEnvironmentDefinition$Weather$State;name:Ljava/lang/String;
      intermediary field_56212 Lnet/minecraft/class_10665$class_10671$class_10672;field_56212:Ljava/lang/String;
      official e Ltm$e$a;e:Ljava/lang/String;
    • clearDuration Link icon

      private final int clearDuration
      Mappings:
      Namespace Name Mixin selector
      named clearDuration Lnet/minecraft/test/TestEnvironmentDefinition$Weather$State;clearDuration:I
      intermediary field_56213 Lnet/minecraft/class_10665$class_10671$class_10672;field_56213:I
      official f Ltm$e$a;f:I
    • rainDuration Link icon

      private final int rainDuration
      Mappings:
      Namespace Name Mixin selector
      named rainDuration Lnet/minecraft/test/TestEnvironmentDefinition$Weather$State;rainDuration:I
      intermediary field_56214 Lnet/minecraft/class_10665$class_10671$class_10672;field_56214:I
      official g Ltm$e$a;g:I
    • raining Link icon

      private final boolean raining
      Mappings:
      Namespace Name Mixin selector
      named raining Lnet/minecraft/test/TestEnvironmentDefinition$Weather$State;raining:Z
      intermediary field_56215 Lnet/minecraft/class_10665$class_10671$class_10672;field_56215:Z
      official h Ltm$e$a;h:Z
    • thundering Link icon

      private final boolean thundering
      Mappings:
      Namespace Name Mixin selector
      named thundering Lnet/minecraft/test/TestEnvironmentDefinition$Weather$State;thundering:Z
      intermediary field_56216 Lnet/minecraft/class_10665$class_10671$class_10672;field_56216:Z
      official i Ltm$e$a;i:Z
  • Constructor Details Link icon

    • State Link icon

      private State(String name, int clearDuration, int rainDuration, boolean raining, boolean thundering)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/test/TestEnvironmentDefinition$Weather$State;<init>(Ljava/lang/String;ILjava/lang/String;IIZZ)V
      intermediary <init> Lnet/minecraft/class_10665$class_10671$class_10672;<init>(Ljava/lang/String;ILjava/lang/String;IIZZ)V
      official <init> Ltm$e$a;<init>(Ljava/lang/String;ILjava/lang/String;IIZZ)V
  • Method Details Link icon

    • values Link icon

      public static TestEnvironmentDefinition.Weather.State[] 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 Link icon

      public static TestEnvironmentDefinition.Weather.State 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
    • apply Link icon

      void apply(ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/test/TestEnvironmentDefinition$Weather$State;apply(Lnet/minecraft/server/world/ServerWorld;)V
      intermediary method_67069 Lnet/minecraft/class_10665$class_10671$class_10672;method_67069(Lnet/minecraft/class_3218;)V
      official a Ltm$e$a;a(Lasb;)V
    • asString Link icon

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lbax;c()Ljava/lang/String;