Package net.minecraft.loot.function
Enum Class SetNameLootFunction.class_9475
java.lang.Object
java.lang.Enum<SetNameLootFunction.class_9475>
net.minecraft.loot.function.SetNameLootFunction.class_9475
- All Implemented Interfaces:
Serializable,Comparable<SetNameLootFunction.class_9475>,Constable,StringIdentifiable
- Enclosing class:
SetNameLootFunction
public static enum SetNameLootFunction.class_9475
extends Enum<SetNameLootFunction.class_9475>
implements StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/loot/function/SetNameLootFunction$class_9475intermediary net/minecraft/class_3670$class_9475official erk$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 TypeFieldDescriptionstatic final com.mojang.serialization.Codec<SetNameLootFunction.class_9475> private 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.Returns the enum constant of this class with the specified name.static SetNameLootFunction.class_9475[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CUSTOM_NAME
- Mappings:
Namespace Name Mixin selector named CUSTOM_NAMELnet/minecraft/loot/function/SetNameLootFunction$class_9475;CUSTOM_NAME:Lnet/minecraft/loot/function/SetNameLootFunction$class_9475;intermediary field_50210Lnet/minecraft/class_3670$class_9475;field_50210:Lnet/minecraft/class_3670$class_9475;official aLerk$a;a:Lerk$a;
-
ITEM_NAME
- Mappings:
Namespace Name Mixin selector named ITEM_NAMELnet/minecraft/loot/function/SetNameLootFunction$class_9475;ITEM_NAME:Lnet/minecraft/loot/function/SetNameLootFunction$class_9475;intermediary field_50211Lnet/minecraft/class_3670$class_9475;field_50211:Lnet/minecraft/class_3670$class_9475;official bLerk$a;b:Lerk$a;
-
-
Field Details
-
field_50212
- Mappings:
Namespace Name Mixin selector named field_50212Lnet/minecraft/loot/function/SetNameLootFunction$class_9475;field_50212:Lcom/mojang/serialization/Codec;intermediary field_50212Lnet/minecraft/class_3670$class_9475;field_50212:Lcom/mojang/serialization/Codec;official cLerk$a;c:Lcom/mojang/serialization/Codec;
-
field_50213
- Mappings:
Namespace Name Mixin selector named field_50213Lnet/minecraft/loot/function/SetNameLootFunction$class_9475;field_50213:Ljava/lang/String;intermediary field_50213Lnet/minecraft/class_3670$class_9475;field_50213:Ljava/lang/String;official dLerk$a;d:Ljava/lang/String;
-
-
Constructor Details
-
class_9475
-
-
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 named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLayx;c()Ljava/lang/String;
-
method_58734
- Mappings:
Namespace Name Mixin selector named method_58734Lnet/minecraft/loot/function/SetNameLootFunction$class_9475;method_58734()Lnet/minecraft/component/DataComponentType;intermediary method_58734Lnet/minecraft/class_3670$class_9475;method_58734()Lnet/minecraft/class_9331;official aLerk$a;a()Lka;
-