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$State
intermediary net/minecraft/class_10665$class_10671$class_10672
official tm$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 int
static final com.mojang.serialization.Codec
<TestEnvironmentDefinition.Weather.State> private final String
private final int
private final boolean
private final boolean
Fields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
apply
(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 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
- 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
- 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
-
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
- 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
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
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
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
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
-
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>
Ltm$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 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
Returns the unique string representation of the enum, used for serialization.- Specified by:
asString
in interfaceStringIdentifiable
- 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;
-