Package net.minecraft.test
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$Stateintermediary net/minecraft/class_10665$class_10671$class_10672official ua$e$a
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intstatic final com.mojang.serialization.Codec<TestEnvironmentDefinition.Weather.State> private final Stringprivate final intprivate final booleanprivate final booleanFields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidapply(ServerWorld world) asString()Returns the unique string representation of the enum, used for serialization.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLEAR
- Mappings:
Namespace Name Mixin selector named CLEARLnet/minecraft/test/TestEnvironmentDefinition$Weather$State;CLEAR:Lnet/minecraft/test/TestEnvironmentDefinition$Weather$State;intermediary field_56208Lnet/minecraft/class_10665$class_10671$class_10672;field_56208:Lnet/minecraft/class_10665$class_10671$class_10672;official aLua$e$a;a:Lua$e$a;
-
RAIN
- Mappings:
Namespace Name Mixin selector named RAINLnet/minecraft/test/TestEnvironmentDefinition$Weather$State;RAIN:Lnet/minecraft/test/TestEnvironmentDefinition$Weather$State;intermediary field_56209Lnet/minecraft/class_10665$class_10671$class_10672;field_56209:Lnet/minecraft/class_10665$class_10671$class_10672;official bLua$e$a;b:Lua$e$a;
-
THUNDER
- Mappings:
Namespace Name Mixin selector named THUNDERLnet/minecraft/test/TestEnvironmentDefinition$Weather$State;THUNDER:Lnet/minecraft/test/TestEnvironmentDefinition$Weather$State;intermediary field_56210Lnet/minecraft/class_10665$class_10671$class_10672;field_56210:Lnet/minecraft/class_10665$class_10671$class_10672;official cLua$e$a;c:Lua$e$a;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/test/TestEnvironmentDefinition$Weather$State;CODEC:Lcom/mojang/serialization/Codec;intermediary field_56211Lnet/minecraft/class_10665$class_10671$class_10672;field_56211:Lcom/mojang/serialization/Codec;official dLua$e$a;d:Lcom/mojang/serialization/Codec;
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/test/TestEnvironmentDefinition$Weather$State;name:Ljava/lang/String;intermediary field_56212Lnet/minecraft/class_10665$class_10671$class_10672;field_56212:Ljava/lang/String;official eLua$e$a;e:Ljava/lang/String;
-
clearDuration
private final int clearDuration- Mappings:
Namespace Name Mixin selector named clearDurationLnet/minecraft/test/TestEnvironmentDefinition$Weather$State;clearDuration:Iintermediary field_56213Lnet/minecraft/class_10665$class_10671$class_10672;field_56213:Iofficial fLua$e$a;f:I
-
rainDuration
private final int rainDuration- Mappings:
Namespace Name Mixin selector named rainDurationLnet/minecraft/test/TestEnvironmentDefinition$Weather$State;rainDuration:Iintermediary field_56214Lnet/minecraft/class_10665$class_10671$class_10672;field_56214:Iofficial gLua$e$a;g:I
-
raining
private final boolean raining- Mappings:
Namespace Name Mixin selector named rainingLnet/minecraft/test/TestEnvironmentDefinition$Weather$State;raining:Zintermediary field_56215Lnet/minecraft/class_10665$class_10671$class_10672;field_56215:Zofficial hLua$e$a;h:Z
-
thundering
private final boolean thundering- Mappings:
Namespace Name Mixin selector named thunderingLnet/minecraft/test/TestEnvironmentDefinition$Weather$State;thundering:Zintermediary field_56216Lnet/minecraft/class_10665$class_10671$class_10672;field_56216:Zofficial iLua$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)Vintermediary <init>Lnet/minecraft/class_10665$class_10671$class_10672;<init>(Ljava/lang/String;ILjava/lang/String;IIZZ)Vofficial <init>Lua$e$a;<init>(Ljava/lang/String;ILjava/lang/String;IIZZ)V
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
apply
- Mappings:
Namespace Name Mixin selector named applyLnet/minecraft/test/TestEnvironmentDefinition$Weather$State;apply(Lnet/minecraft/server/world/ServerWorld;)Vintermediary method_67069Lnet/minecraft/class_10665$class_10671$class_10672;method_67069(Lnet/minecraft/class_3218;)Vofficial aLua$e$a;a(Lawx;)V
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLbgg;c()Ljava/lang/String;
-