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$Target
intermediary net/minecraft/class_3670$class_9475
official eyx$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
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<SetNameLootFunction.Target> private final String
Fields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasString()
Returns the unique string representation of the enum, used for serialization.static SetNameLootFunction.Target
Returns 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_NAME
Lnet/minecraft/loot/function/SetNameLootFunction$Target;CUSTOM_NAME:Lnet/minecraft/loot/function/SetNameLootFunction$Target;
intermediary field_50210
Lnet/minecraft/class_3670$class_9475;field_50210:Lnet/minecraft/class_3670$class_9475;
official a
Leyx$a;a:Leyx$a;
-
ITEM_NAME
- Mappings:
Namespace Name Mixin selector named ITEM_NAME
Lnet/minecraft/loot/function/SetNameLootFunction$Target;ITEM_NAME:Lnet/minecraft/loot/function/SetNameLootFunction$Target;
intermediary field_50211
Lnet/minecraft/class_3670$class_9475;field_50211:Lnet/minecraft/class_3670$class_9475;
official b
Leyx$a;b:Leyx$a;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/loot/function/SetNameLootFunction$Target;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_50212
Lnet/minecraft/class_3670$class_9475;field_50212:Lcom/mojang/serialization/Codec;
official c
Leyx$a;c:Lcom/mojang/serialization/Codec;
-
id
- Mappings:
Namespace Name Mixin selector named id
Lnet/minecraft/loot/function/SetNameLootFunction$Target;id:Ljava/lang/String;
intermediary field_50213
Lnet/minecraft/class_3670$class_9475;field_50213:Ljava/lang/String;
official d
Leyx$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;)V
intermediary <init>
Lnet/minecraft/class_3670$class_9475;<init>(Ljava/lang/String;ILjava/lang/String;)V
official <init>
Leyx$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:
asString
in interfaceStringIdentifiable
- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asString
Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
intermediary method_15434
Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
official c
Lbba;c()Ljava/lang/String;
-
getComponentType
- Mappings:
Namespace Name Mixin selector named getComponentType
Lnet/minecraft/loot/function/SetNameLootFunction$Target;getComponentType()Lnet/minecraft/component/ComponentType;
intermediary method_58734
Lnet/minecraft/class_3670$class_9475;method_58734()Lnet/minecraft/class_9331;
official a
Leyx$a;a()Lkt;
-