Package net.minecraft
Enum Class class_8390.class_8393
- All Implemented Interfaces:
Serializable,Comparable<class_8390.class_8393>,Constable,StringIdentifiable
- Enclosing interface:
class_8390
public static enum class_8390.class_8393
extends Enum<class_8390.class_8393>
implements StringIdentifiable
- Mappings:
Namespace Name official bgw$cintermediary net/minecraft/class_8390$class_8393named net/minecraft/class_8390$class_8393
-
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.Codec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringIdentifiable.Codec<class_8390.class_8393>private final String(package private) final Supplier<StringIdentifiable.Codec<? extends class_8390>>Fields inherited from interface net.minecraft.util.StringIdentifiable
field_38377 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateclass_8393(String string, Supplier<StringIdentifiable.Codec<? extends class_8390>> supplier) -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.abstract Optional<class_8390.class_8391>method_50609(Random random) static class_8390.class_8393Returns the enum constant of this class with the specified name.static class_8390.class_8393[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PER_PROPOSAL
- Mappings:
Namespace Name Mixin selector official aLbgw$c;a:Lbgw$c;intermediary field_44036Lnet/minecraft/class_8390$class_8393;field_44036:Lnet/minecraft/class_8390$class_8393;named PER_PROPOSALLnet/minecraft/class_8390$class_8393;PER_PROPOSAL:Lnet/minecraft/class_8390$class_8393;
-
PER_OPTION
- Mappings:
Namespace Name Mixin selector official bLbgw$c;b:Lbgw$c;intermediary field_44037Lnet/minecraft/class_8390$class_8393;field_44037:Lnet/minecraft/class_8390$class_8393;named PER_OPTIONLnet/minecraft/class_8390$class_8393;PER_OPTION:Lnet/minecraft/class_8390$class_8393;
-
ITEM
- Mappings:
Namespace Name Mixin selector official cLbgw$c;c:Lbgw$c;intermediary field_44038Lnet/minecraft/class_8390$class_8393;field_44038:Lnet/minecraft/class_8390$class_8393;named ITEMLnet/minecraft/class_8390$class_8393;ITEM:Lnet/minecraft/class_8390$class_8393;
-
RESOURCE
- Mappings:
Namespace Name Mixin selector official dLbgw$c;d:Lbgw$c;intermediary field_44039Lnet/minecraft/class_8390$class_8393;field_44039:Lnet/minecraft/class_8390$class_8393;named RESOURCELnet/minecraft/class_8390$class_8393;RESOURCE:Lnet/minecraft/class_8390$class_8393;
-
CUSTOM
- Mappings:
Namespace Name Mixin selector official eLbgw$c;e:Lbgw$c;intermediary field_44040Lnet/minecraft/class_8390$class_8393;field_44040:Lnet/minecraft/class_8390$class_8393;named CUSTOMLnet/minecraft/class_8390$class_8393;CUSTOM:Lnet/minecraft/class_8390$class_8393;
-
-
Field Details
-
field_44041
- Mappings:
Namespace Name Mixin selector official fLbgw$c;f:Lcom/mojang/serialization/Codec;intermediary field_44041Lnet/minecraft/class_8390$class_8393;field_44041:Lcom/mojang/serialization/Codec;named field_44041Lnet/minecraft/class_8390$class_8393;field_44041:Lcom/mojang/serialization/Codec;
-
field_44042
- Mappings:
Namespace Name Mixin selector official gLbgw$c;g:Ljava/lang/String;intermediary field_44042Lnet/minecraft/class_8390$class_8393;field_44042:Ljava/lang/String;named field_44042Lnet/minecraft/class_8390$class_8393;field_44042:Ljava/lang/String;
-
field_44043
- Mappings:
Namespace Name Mixin selector official hLbgw$c;h:Ljava/util/function/Supplier;intermediary field_44043Lnet/minecraft/class_8390$class_8393;field_44043:Ljava/util/function/Supplier;named field_44043Lnet/minecraft/class_8390$class_8393;field_44043:Ljava/util/function/Supplier;
-
-
Constructor Details
-
class_8393
private class_8393(String string, Supplier<StringIdentifiable.Codec<? extends class_8390>> 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
-
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 cLapw;c()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-
method_50609
- Mappings:
Namespace Name Mixin selector official aLbgw$c;a(Lapj;)Ljava/util/Optional;intermediary method_50609Lnet/minecraft/class_8390$class_8393;method_50609(Lnet/minecraft/class_5819;)Ljava/util/Optional;named method_50609Lnet/minecraft/class_8390$class_8393;method_50609(Lnet/minecraft/util/math/random/Random;)Ljava/util/Optional;
-