Package net.minecraft.loot.function
Enum Class SetNameLootFunction.Target
- All Implemented Interfaces:
Serializable,Comparable<SetNameLootFunction.Target>,Constable,StringIdentifiable
- Enclosing class:
SetNameLootFunction
public static enum SetNameLootFunction.Target
extends Enum<SetNameLootFunction.Target>
implements StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/loot/function/SetNameLootFunction$Targetintermediary net/minecraft/class_3670$class_9475official eua$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.Target> 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.static SetNameLootFunction.TargetReturns the enum constant of this class with the specified name.static SetNameLootFunction.Target[]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$Target;CUSTOM_NAME:Lnet/minecraft/loot/function/SetNameLootFunction$Target;intermediary field_50210Lnet/minecraft/class_3670$class_9475;field_50210:Lnet/minecraft/class_3670$class_9475;official aLeua$a;a:Leua$a;
-
ITEM_NAME
- Mappings:
Namespace Name Mixin selector named ITEM_NAMELnet/minecraft/loot/function/SetNameLootFunction$Target;ITEM_NAME:Lnet/minecraft/loot/function/SetNameLootFunction$Target;intermediary field_50211Lnet/minecraft/class_3670$class_9475;field_50211:Lnet/minecraft/class_3670$class_9475;official bLeua$a;b:Leua$a;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/loot/function/SetNameLootFunction$Target;CODEC:Lcom/mojang/serialization/Codec;intermediary field_50212Lnet/minecraft/class_3670$class_9475;field_50212:Lcom/mojang/serialization/Codec;official cLeua$a;c:Lcom/mojang/serialization/Codec;
-
id
- Mappings:
Namespace Name Mixin selector named idLnet/minecraft/loot/function/SetNameLootFunction$Target;id:Ljava/lang/String;intermediary field_50213Lnet/minecraft/class_3670$class_9475;field_50213:Ljava/lang/String;official dLeua$a;d:Ljava/lang/String;
-
-
Constructor Details
-
Target
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/loot/function/SetNameLootFunction$Target;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_3670$class_9475;<init>(Ljava/lang/String;ILjava/lang/String;)Vofficial <init>Leua$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
-
-
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 cLazk;c()Ljava/lang/String;
-
getComponentType
- Mappings:
Namespace Name Mixin selector named getComponentTypeLnet/minecraft/loot/function/SetNameLootFunction$Target;getComponentType()Lnet/minecraft/component/ComponentType;intermediary method_58734Lnet/minecraft/class_3670$class_9475;method_58734()Lnet/minecraft/class_9331;official aLeua$a;a()Lkp;
-