Package net.minecraft.loot.function
Enum CopyNbtLootFunction.Operator
java.lang.Object
java.lang.Enum<CopyNbtLootFunction.Operator>
net.minecraft.loot.function.CopyNbtLootFunction.Operator
- All Implemented Interfaces:
Serializable
,Comparable<CopyNbtLootFunction.Operator>
,java.lang.constant.Constable
- Enclosing class:
- CopyNbtLootFunction
public static enum CopyNbtLootFunction.Operator extends Enum<CopyNbtLootFunction.Operator>
- Mappings:
Namespace Name official dfl$c
intermediary net/minecraft/class_3837$class_3841
named net/minecraft/loot/function/CopyNbtLootFunction$Operator
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description static CopyNbtLootFunction.Operator
get(String name)
abstract void
merge(Tag itemTag, NbtPathArgumentType.NbtPath targetPath, List<Tag> sourceTags)
static CopyNbtLootFunction.Operator
valueOf(String name)
Returns the enum constant of this type with the specified name.static CopyNbtLootFunction.Operator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
REPLACE
- Mappings:
Namespace Name Mixin selector official a
Ldfl$c;a:Ldfl$c;
intermediary field_17032
Lnet/minecraft/class_3837$class_3841;field_17032:Lnet/minecraft/class_3837$class_3841;
named REPLACE
Lnet/minecraft/loot/function/CopyNbtLootFunction$Operator;REPLACE:Lnet/minecraft/loot/function/CopyNbtLootFunction$Operator;
-
APPEND
- Mappings:
Namespace Name Mixin selector official b
Ldfl$c;b:Ldfl$c;
intermediary field_17033
Lnet/minecraft/class_3837$class_3841;field_17033:Lnet/minecraft/class_3837$class_3841;
named APPEND
Lnet/minecraft/loot/function/CopyNbtLootFunction$Operator;APPEND:Lnet/minecraft/loot/function/CopyNbtLootFunction$Operator;
-
MERGE
- Mappings:
Namespace Name Mixin selector official c
Ldfl$c;c:Ldfl$c;
intermediary field_17034
Lnet/minecraft/class_3837$class_3841;field_17034:Lnet/minecraft/class_3837$class_3841;
named MERGE
Lnet/minecraft/loot/function/CopyNbtLootFunction$Operator;MERGE:Lnet/minecraft/loot/function/CopyNbtLootFunction$Operator;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official d
Ldfl$c;d:Ljava/lang/String;
intermediary field_17035
Lnet/minecraft/class_3837$class_3841;field_17035:Ljava/lang/String;
named name
Lnet/minecraft/loot/function/CopyNbtLootFunction$Operator;name:Ljava/lang/String;
-
-
Constructor Details
-
Operator
- Mappings:
Namespace Name Mixin selector official <init>
Ldfl$c;<init>(Ljava/lang/String;ILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_3837$class_3841;<init>(Ljava/lang/String;ILjava/lang/String;)V
named <init>
Lnet/minecraft/loot/function/CopyNbtLootFunction$Operator;<init>(Ljava/lang/String;ILjava/lang/String;)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
merge
public abstract void merge(Tag itemTag, NbtPathArgumentType.NbtPath targetPath, List<Tag> sourceTags) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Ldfl$c;a(Lni;Ldr$g;Ljava/util/List;)V
intermediary method_16864
Lnet/minecraft/class_3837$class_3841;method_16864(Lnet/minecraft/class_2520;Lnet/minecraft/class_2203$class_2209;Ljava/util/List;)V
named merge
Lnet/minecraft/loot/function/CopyNbtLootFunction$Operator;merge(Lnet/minecraft/nbt/Tag;Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;Ljava/util/List;)V
-
get
- Mappings:
Namespace Name Mixin selector official a
Ldfl$c;a(Ljava/lang/String;)Ldfl$c;
intermediary method_16865
Lnet/minecraft/class_3837$class_3841;method_16865(Ljava/lang/String;)Lnet/minecraft/class_3837$class_3841;
named get
Lnet/minecraft/loot/function/CopyNbtLootFunction$Operator;get(Ljava/lang/String;)Lnet/minecraft/loot/function/CopyNbtLootFunction$Operator;
-