类 CopyNbtLootFunction.Operation
- java.lang.Object
-
- net.minecraft.loot.function.CopyNbtLootFunction.Operation
-
- 封闭类:
- CopyNbtLootFunction
static class CopyNbtLootFunction.Operation extends Object
- Mappings:
Namespace Name official dis$bintermediary net/minecraft/class_3837$class_3839named net/minecraft/loot/function/CopyNbtLootFunction$Operation
-
-
字段概要
字段 修饰符和类型 字段 说明 private CopyNbtLootFunction.Operatoroperatorprivate NbtPathArgumentType.NbtPathparsedSourcePathprivate NbtPathArgumentType.NbtPathparsedTargetPathprivate StringsourcePathprivate StringtargetPath
-
构造器概要
构造器 限定符 构造器 说明 privateOperation(String source, String target, CopyNbtLootFunction.Operator operator)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 voidexecute(Supplier<Tag> itemTagTagGetter, Tag sourceEntityTag)static CopyNbtLootFunction.OperationfromJson(JsonObject json)JsonObjecttoJson()
-
-
-
字段详细资料
-
sourcePath
private final String sourcePath
- Mappings:
Namespace Name Mixin selector official aLdis$b;a:Ljava/lang/String;intermediary field_17019Lnet/minecraft/class_3837$class_3839;field_17019:Ljava/lang/String;named sourcePathLnet/minecraft/loot/function/CopyNbtLootFunction$Operation;sourcePath:Ljava/lang/String;
-
parsedSourcePath
private final NbtPathArgumentType.NbtPath parsedSourcePath
- Mappings:
Namespace Name Mixin selector official bLdis$b;b:Ldw$g;intermediary field_17020Lnet/minecraft/class_3837$class_3839;field_17020:Lnet/minecraft/class_2203$class_2209;named parsedSourcePathLnet/minecraft/loot/function/CopyNbtLootFunction$Operation;parsedSourcePath:Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;
-
targetPath
private final String targetPath
- Mappings:
Namespace Name Mixin selector official cLdis$b;c:Ljava/lang/String;intermediary field_17021Lnet/minecraft/class_3837$class_3839;field_17021:Ljava/lang/String;named targetPathLnet/minecraft/loot/function/CopyNbtLootFunction$Operation;targetPath:Ljava/lang/String;
-
parsedTargetPath
private final NbtPathArgumentType.NbtPath parsedTargetPath
- Mappings:
Namespace Name Mixin selector official dLdis$b;d:Ldw$g;intermediary field_17022Lnet/minecraft/class_3837$class_3839;field_17022:Lnet/minecraft/class_2203$class_2209;named parsedTargetPathLnet/minecraft/loot/function/CopyNbtLootFunction$Operation;parsedTargetPath:Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;
-
operator
private final CopyNbtLootFunction.Operator operator
- Mappings:
Namespace Name Mixin selector official eLdis$b;e:Ldis$c;intermediary field_17023Lnet/minecraft/class_3837$class_3839;field_17023:Lnet/minecraft/class_3837$class_3841;named operatorLnet/minecraft/loot/function/CopyNbtLootFunction$Operation;operator:Lnet/minecraft/loot/function/CopyNbtLootFunction$Operator;
-
-
构造器详细资料
-
Operation
private Operation(String source, String target, CopyNbtLootFunction.Operator operator)
- Mappings:
Namespace Name Mixin selector official <init>Ldis$b;<init>(Ljava/lang/String;Ljava/lang/String;Ldis$c;)Vintermediary <init>Lnet/minecraft/class_3837$class_3839;<init>(Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/class_3837$class_3841;)Vnamed <init>Lnet/minecraft/loot/function/CopyNbtLootFunction$Operation;<init>(Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/loot/function/CopyNbtLootFunction$Operator;)V
-
-
方法详细资料
-
execute
public void execute(Supplier<Tag> itemTagTagGetter, Tag sourceEntityTag)
- Mappings:
Namespace Name Mixin selector official aLdis$b;a(Ljava/util/function/Supplier;Lnn;)Vintermediary method_16860Lnet/minecraft/class_3837$class_3839;method_16860(Ljava/util/function/Supplier;Lnet/minecraft/class_2520;)Vnamed executeLnet/minecraft/loot/function/CopyNbtLootFunction$Operation;execute(Ljava/util/function/Supplier;Lnet/minecraft/nbt/Tag;)V
-
toJson
public JsonObject toJson()
- Mappings:
Namespace Name Mixin selector official aLdis$b;a()Lcom/google/gson/JsonObject;intermediary method_16858Lnet/minecraft/class_3837$class_3839;method_16858()Lcom/google/gson/JsonObject;named toJsonLnet/minecraft/loot/function/CopyNbtLootFunction$Operation;toJson()Lcom/google/gson/JsonObject;
-
fromJson
public static CopyNbtLootFunction.Operation fromJson(JsonObject json)
- Mappings:
Namespace Name Mixin selector official aLdis$b;a(Lcom/google/gson/JsonObject;)Ldis$b;intermediary method_16859Lnet/minecraft/class_3837$class_3839;method_16859(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_3837$class_3839;named fromJsonLnet/minecraft/loot/function/CopyNbtLootFunction$Operation;fromJson(Lcom/google/gson/JsonObject;)Lnet/minecraft/loot/function/CopyNbtLootFunction$Operation;
-
-