Package net.minecraft
Enum Class class_12122
- All Implemented Interfaces:
Serializable,Comparable<class_12122>,Constable,StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/class_12122intermediary net/minecraft/class_12122official dku
-
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 TypeFieldDescriptionstatic final com.mojang.serialization.Codec<class_12122> static final PacketCodec<ByteBuf, class_12122> private static final IntFunction<class_12122> private final intprivate final StringFields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.intstatic class_12122Returns the enum constant of this class with the specified name.static class_12122[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
- Mappings:
Namespace Name Mixin selector named NONELnet/minecraft/class_12122;NONE:Lnet/minecraft/class_12122;intermediary field_63398Lnet/minecraft/class_12122;field_63398:Lnet/minecraft/class_12122;official aLdku;a:Ldku;
-
WHACK
- Mappings:
Namespace Name Mixin selector named WHACKLnet/minecraft/class_12122;WHACK:Lnet/minecraft/class_12122;intermediary field_63399Lnet/minecraft/class_12122;field_63399:Lnet/minecraft/class_12122;official bLdku;b:Ldku;
-
STAB
- Mappings:
Namespace Name Mixin selector named STABLnet/minecraft/class_12122;STAB:Lnet/minecraft/class_12122;intermediary field_63400Lnet/minecraft/class_12122;field_63400:Lnet/minecraft/class_12122;official cLdku;c:Ldku;
-
-
Field Details
-
field_63403
- Mappings:
Namespace Name Mixin selector named field_63403Lnet/minecraft/class_12122;field_63403:Ljava/util/function/IntFunction;intermediary field_63403Lnet/minecraft/class_12122;field_63403:Ljava/util/function/IntFunction;official fLdku;f:Ljava/util/function/IntFunction;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/class_12122;CODEC:Lcom/mojang/serialization/Codec;intermediary field_63401Lnet/minecraft/class_12122;field_63401:Lcom/mojang/serialization/Codec;official dLdku;d:Lcom/mojang/serialization/Codec;
-
field_63402
- Mappings:
Namespace Name Mixin selector named field_63402Lnet/minecraft/class_12122;field_63402:Lnet/minecraft/network/codec/PacketCodec;intermediary field_63402Lnet/minecraft/class_12122;field_63402:Lnet/minecraft/class_9139;official eLdku;e:Laat;
-
field_63404
private final int field_63404- Mappings:
Namespace Name Mixin selector named field_63404Lnet/minecraft/class_12122;field_63404:Iintermediary field_63404Lnet/minecraft/class_12122;field_63404:Iofficial gLdku;g:I
-
field_63405
- Mappings:
Namespace Name Mixin selector named field_63405Lnet/minecraft/class_12122;field_63405:Ljava/lang/String;intermediary field_63405Lnet/minecraft/class_12122;field_63405:Ljava/lang/String;official hLdku;h:Ljava/lang/String;
-
-
Constructor Details
-
class_12122
-
-
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
-
method_75226
public int method_75226()- Mappings:
Namespace Name Mixin selector named method_75226Lnet/minecraft/class_12122;method_75226()Iintermediary method_75226Lnet/minecraft/class_12122;method_75226()Iofficial aLdku;a()I
-
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 cLbhi;c()Ljava/lang/String;
-