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 tu$e$a
  • Enum Constant Details

    • CLEAR

      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 Ltu$e$a;a:Ltu$e$a;
    • RAIN

      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 Ltu$e$a;b:Ltu$e$a;
    • THUNDER

      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 Ltu$e$a;c:Ltu$e$a;
  • Field Details

    • CODEC

      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 Ltu$e$a;d:Lcom/mojang/serialization/Codec;
    • name

      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 Ltu$e$a;e:Ljava/lang/String;
    • clearDuration

      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 Ltu$e$a;f:I
    • rainDuration

      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 Ltu$e$a;g:I
    • raining

      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 Ltu$e$a;h:Z
    • thundering

      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 Ltu$e$a;i:Z
  • Constructor Details

    • State

      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> Ltu$e$a;<init>(Ljava/lang/String;ILjava/lang/String;IIZZ)V
  • Method Details

    • values

      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

      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

      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 Ltu$e$a;a(Laub;)V
    • asString

      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 Lbda;c()Ljava/lang/String;