Package net.minecraft
Enum Class class_9545.class_9550
- All Implemented Interfaces:
Serializable,Comparable<class_9545.class_9550>,Constable,StringIdentifiable
- Enclosing class:
class_9545
- Mappings:
Namespace Name official dd$eintermediary net/minecraft/class_9545$class_9550named net/minecraft/class_9545$class_9550
-
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 Stringprivate final Supplier<com.mojang.serialization.Codec<? extends class_9545.class_9546>> Fields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateclass_9550(String string, Supplier<com.mojang.serialization.Codec<? extends class_9545.class_9546>> supplier) -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.private com.mojang.serialization.Codec<? extends class_9545.class_9546> static class_9545.class_9550Returns the enum constant of this class with the specified name.static class_9545.class_9550[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STANDARD
- Mappings:
Namespace Name Mixin selector official aLdd$e;a:Ldd$e;intermediary field_50742Lnet/minecraft/class_9545$class_9550;field_50742:Lnet/minecraft/class_9545$class_9550;named STANDARDLnet/minecraft/class_9545$class_9550;STANDARD:Lnet/minecraft/class_9545$class_9550;
-
LUBRICATION
- Mappings:
Namespace Name Mixin selector official bLdd$e;b:Ldd$e;intermediary field_50743Lnet/minecraft/class_9545$class_9550;field_50743:Lnet/minecraft/class_9545$class_9550;named LUBRICATIONLnet/minecraft/class_9545$class_9550;LUBRICATION:Lnet/minecraft/class_9545$class_9550;
-
-
Field Details
-
field_50744
- Mappings:
Namespace Name Mixin selector official cLdd$e;c:Ljava/lang/String;intermediary field_50744Lnet/minecraft/class_9545$class_9550;field_50744:Ljava/lang/String;named field_50744Lnet/minecraft/class_9545$class_9550;field_50744:Ljava/lang/String;
-
field_50745
- Mappings:
Namespace Name Mixin selector official dLdd$e;d:Ljava/util/function/Supplier;intermediary field_50745Lnet/minecraft/class_9545$class_9550;field_50745:Ljava/util/function/Supplier;named field_50745Lnet/minecraft/class_9545$class_9550;field_50745:Ljava/util/function/Supplier;
-
-
Constructor Details
-
class_9550
private class_9550(String string, Supplier<com.mojang.serialization.Codec<? extends class_9545.class_9546>> supplier)
-
-
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_59105
- Mappings:
Namespace Name Mixin selector official aLdd$e;a()Lcom/mojang/serialization/Codec;intermediary method_59105Lnet/minecraft/class_9545$class_9550;method_59105()Lcom/mojang/serialization/Codec;named method_59105Lnet/minecraft/class_9545$class_9550;method_59105()Lcom/mojang/serialization/Codec;
-
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 official cLazg;c()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-