Package net.minecraft.test
Enum Class TestEnvironmentDefinition.Raining.Weather
java.lang.Object
java.lang.Enum<TestEnvironmentDefinition.Raining.Weather>
net.minecraft.test.TestEnvironmentDefinition.Raining.Weather
- All Implemented Interfaces:
Serializable,Comparable<TestEnvironmentDefinition.Raining.Weather>,Constable,StringIdentifiable
- Enclosing class:
TestEnvironmentDefinition.Raining
public static enum TestEnvironmentDefinition.Raining.Weather
extends Enum<TestEnvironmentDefinition.Raining.Weather>
implements StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/test/TestEnvironmentDefinition$Raining$Weatherintermediary net/minecraft/class_10665$class_10671$class_10672official tk$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.Raining.Weather> 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$Raining$Weather;CLEAR:Lnet/minecraft/test/TestEnvironmentDefinition$Raining$Weather;intermediary field_56208Lnet/minecraft/class_10665$class_10671$class_10672;field_56208:Lnet/minecraft/class_10665$class_10671$class_10672;official aLtk$e$a;a:Ltk$e$a;
-
RAIN
- Mappings:
Namespace Name Mixin selector named RAINLnet/minecraft/test/TestEnvironmentDefinition$Raining$Weather;RAIN:Lnet/minecraft/test/TestEnvironmentDefinition$Raining$Weather;intermediary field_56209Lnet/minecraft/class_10665$class_10671$class_10672;field_56209:Lnet/minecraft/class_10665$class_10671$class_10672;official bLtk$e$a;b:Ltk$e$a;
-
THUNDER
- Mappings:
Namespace Name Mixin selector named THUNDERLnet/minecraft/test/TestEnvironmentDefinition$Raining$Weather;THUNDER:Lnet/minecraft/test/TestEnvironmentDefinition$Raining$Weather;intermediary field_56210Lnet/minecraft/class_10665$class_10671$class_10672;field_56210:Lnet/minecraft/class_10665$class_10671$class_10672;official cLtk$e$a;c:Ltk$e$a;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/test/TestEnvironmentDefinition$Raining$Weather;CODEC:Lcom/mojang/serialization/Codec;intermediary field_56211Lnet/minecraft/class_10665$class_10671$class_10672;field_56211:Lcom/mojang/serialization/Codec;official dLtk$e$a;d:Lcom/mojang/serialization/Codec;
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/test/TestEnvironmentDefinition$Raining$Weather;name:Ljava/lang/String;intermediary field_56212Lnet/minecraft/class_10665$class_10671$class_10672;field_56212:Ljava/lang/String;official eLtk$e$a;e:Ljava/lang/String;
-
clearDuration
private final int clearDuration- Mappings:
Namespace Name Mixin selector named clearDurationLnet/minecraft/test/TestEnvironmentDefinition$Raining$Weather;clearDuration:Iintermediary field_56213Lnet/minecraft/class_10665$class_10671$class_10672;field_56213:Iofficial fLtk$e$a;f:I
-
rainDuration
private final int rainDuration- Mappings:
Namespace Name Mixin selector named rainDurationLnet/minecraft/test/TestEnvironmentDefinition$Raining$Weather;rainDuration:Iintermediary field_56214Lnet/minecraft/class_10665$class_10671$class_10672;field_56214:Iofficial gLtk$e$a;g:I
-
raining
private final boolean raining- Mappings:
Namespace Name Mixin selector named rainingLnet/minecraft/test/TestEnvironmentDefinition$Raining$Weather;raining:Zintermediary field_56215Lnet/minecraft/class_10665$class_10671$class_10672;field_56215:Zofficial hLtk$e$a;h:Z
-
thundering
private final boolean thundering- Mappings:
Namespace Name Mixin selector named thunderingLnet/minecraft/test/TestEnvironmentDefinition$Raining$Weather;thundering:Zintermediary field_56216Lnet/minecraft/class_10665$class_10671$class_10672;field_56216:Zofficial iLtk$e$a;i:Z
-
-
Constructor Details
-
Weather
private Weather(String name, int clearDuration, int rainDuration, boolean raining, boolean thundering) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/test/TestEnvironmentDefinition$Raining$Weather;<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>Ltk$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$Raining$Weather;apply(Lnet/minecraft/server/world/ServerWorld;)Vintermediary method_67069Lnet/minecraft/class_10665$class_10671$class_10672;method_67069(Lnet/minecraft/class_3218;)Vofficial aLtk$e$a;a(Laro;)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 cLbai;c()Ljava/lang/String;
-