Package net.minecraft.loot.function
Class CopyNbtLootFunction.Operation
java.lang.Object
net.minecraft.loot.function.CopyNbtLootFunction.Operation
- Enclosing class:
CopyNbtLootFunction
- Mappings:
Namespace Name official ean$bintermediary net/minecraft/class_3837$class_3839named net/minecraft/loot/function/CopyNbtLootFunction$Operation
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CopyNbtLootFunction.Operatorprivate final NbtPathArgumentType.NbtPathprivate final NbtPathArgumentType.NbtPathprivate final Stringprivate final String -
Constructor Summary
ConstructorsConstructorDescriptionOperation(String sourcePath, String targetPath, CopyNbtLootFunction.Operator operator) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(Supplier<NbtElement> itemNbtGetter, NbtElement sourceEntityNbt) fromJson(JsonObject json) toJson()
-
Field Details
-
sourcePath
- Mappings:
Namespace Name Mixin selector official aLean$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
- Mappings:
Namespace Name Mixin selector official bLean$b;b:Leh$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
- Mappings:
Namespace Name Mixin selector official cLean$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
- Mappings:
Namespace Name Mixin selector official dLean$b;d:Leh$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
- Mappings:
Namespace Name Mixin selector official eLean$b;e:Lean$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;
-
-
Constructor Details
-
Operation
Operation(String sourcePath, String targetPath, CopyNbtLootFunction.Operator operator) - Mappings:
Namespace Name Mixin selector official <init>Lean$b;<init>(Ljava/lang/String;Ljava/lang/String;Lean$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
-
-
Method Details
-
execute
- Mappings:
Namespace Name Mixin selector official aLean$b;a(Ljava/util/function/Supplier;Lrk;)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/NbtElement;)V
-
toJson
- Mappings:
Namespace Name Mixin selector official aLean$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
- Mappings:
Namespace Name Mixin selector official aLean$b;a(Lcom/google/gson/JsonObject;)Lean$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;
-