Package net.minecraft.loot.function
Class CopyNbtLootFunction.Operation
java.lang.Object
net.minecraft.loot.function.CopyNbtLootFunction.Operation
- Enclosing class:
- CopyNbtLootFunction
static class CopyNbtLootFunction.Operation extends Object
-
Field Summary
Fields Modifier and Type Field Description private CopyNbtLootFunction.Operatoroperatorprivate NbtPathArgumentType.NbtPathparsedSourcePathprivate NbtPathArgumentType.NbtPathparsedTargetPathprivate StringsourcePathprivate StringtargetPath -
Constructor Summary
Constructors Modifier Constructor Description privateOperation(String source, String target, CopyNbtLootFunction.Operator operator) -
Method Summary
Modifier and Type Method Description voidexecute(Supplier<Tag> itemTagTagGetter, Tag sourceEntityTag)static CopyNbtLootFunction.OperationfromJson(JsonObject json)JsonObjecttoJson()
-
Field Details
-
sourcePath
-
parsedSourcePath
-
targetPath
-
parsedTargetPath
-
operator
-
-
Constructor Details
-
Operation
-
-
Method Details
-
execute
-
toJson
-
fromJson
-