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$c
intermediary net/minecraft/class_8390$class_8393
named 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
ConstructorsModifierConstructorDescriptionprivate
class_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_8393
Returns 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 a
Lbgw$c;a:Lbgw$c;
intermediary field_44036
Lnet/minecraft/class_8390$class_8393;field_44036:Lnet/minecraft/class_8390$class_8393;
named PER_PROPOSAL
Lnet/minecraft/class_8390$class_8393;PER_PROPOSAL:Lnet/minecraft/class_8390$class_8393;
-
PER_OPTION
- Mappings:
Namespace Name Mixin selector official b
Lbgw$c;b:Lbgw$c;
intermediary field_44037
Lnet/minecraft/class_8390$class_8393;field_44037:Lnet/minecraft/class_8390$class_8393;
named PER_OPTION
Lnet/minecraft/class_8390$class_8393;PER_OPTION:Lnet/minecraft/class_8390$class_8393;
-
ITEM
- Mappings:
Namespace Name Mixin selector official c
Lbgw$c;c:Lbgw$c;
intermediary field_44038
Lnet/minecraft/class_8390$class_8393;field_44038:Lnet/minecraft/class_8390$class_8393;
named ITEM
Lnet/minecraft/class_8390$class_8393;ITEM:Lnet/minecraft/class_8390$class_8393;
-
RESOURCE
- Mappings:
Namespace Name Mixin selector official d
Lbgw$c;d:Lbgw$c;
intermediary field_44039
Lnet/minecraft/class_8390$class_8393;field_44039:Lnet/minecraft/class_8390$class_8393;
named RESOURCE
Lnet/minecraft/class_8390$class_8393;RESOURCE:Lnet/minecraft/class_8390$class_8393;
-
CUSTOM
- Mappings:
Namespace Name Mixin selector official e
Lbgw$c;e:Lbgw$c;
intermediary field_44040
Lnet/minecraft/class_8390$class_8393;field_44040:Lnet/minecraft/class_8390$class_8393;
named CUSTOM
Lnet/minecraft/class_8390$class_8393;CUSTOM:Lnet/minecraft/class_8390$class_8393;
-
-
Field Details
-
field_44041
- Mappings:
Namespace Name Mixin selector official f
Lbgw$c;f:Lcom/mojang/serialization/Codec;
intermediary field_44041
Lnet/minecraft/class_8390$class_8393;field_44041:Lcom/mojang/serialization/Codec;
named field_44041
Lnet/minecraft/class_8390$class_8393;field_44041:Lcom/mojang/serialization/Codec;
-
field_44042
- Mappings:
Namespace Name Mixin selector official g
Lbgw$c;g:Ljava/lang/String;
intermediary field_44042
Lnet/minecraft/class_8390$class_8393;field_44042:Ljava/lang/String;
named field_44042
Lnet/minecraft/class_8390$class_8393;field_44042:Ljava/lang/String;
-
field_44043
- Mappings:
Namespace Name Mixin selector official h
Lbgw$c;h:Ljava/util/function/Supplier;
intermediary field_44043
Lnet/minecraft/class_8390$class_8393;field_44043:Ljava/util/function/Supplier;
named field_44043
Lnet/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:
asString
in interfaceStringIdentifiable
- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector official c
Lapw;c()Ljava/lang/String;
intermediary method_15434
Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
named asString
Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-
method_50609
- Mappings:
Namespace Name Mixin selector official a
Lbgw$c;a(Lapj;)Ljava/util/Optional;
intermediary method_50609
Lnet/minecraft/class_8390$class_8393;method_50609(Lnet/minecraft/class_5819;)Ljava/util/Optional;
named method_50609
Lnet/minecraft/class_8390$class_8393;method_50609(Lnet/minecraft/util/math/random/Random;)Ljava/util/Optional;
-