net.minecraft.loot.function

record CopyNbtLootFunction$Operation

net.minecraft.world.level.storage.loot.functions.CopyCustomDataFunction$CopyOperation
net.minecraft.world.level.storage.loot.functions.CopyCustomDataFunction$CopyOperation
net.minecraft.class_3837$class_3839
net.minecraft.loot.function.CopyNbtLootFunction$Operation

Field summary

Modifier and TypeField
private final NbtPathArgumentType$NbtPath
sourcePath
sourcePath
comp_1853
parsedSourcePath
private final NbtPathArgumentType$NbtPath
targetPath
targetPath
comp_1854
parsedTargetPath
private final CopyNbtLootFunction$Operator
op
op
comp_1855
operator
public static final com.mojang.serialization.Codec<CopyNbtLootFunction$Operation>
CODEC
CODEC
field_45820
CODEC

Constructor summary

ModifierConstructor
private (NbtPathArgumentType$NbtPath parsedSourcePath, NbtPathArgumentType$NbtPath parsedTargetPath, CopyNbtLootFunction$Operator operator)

Method summary

Modifier and TypeMethod
public void
apply(Supplier<Tag> target, Tag source)
apply(Supplier<Tag> target, Tag source)
method_16860(Supplier<class_2520> arg0, class_2520 arg1)
execute(Supplier<NbtElement> itemNbtGetter, NbtElement sourceEntityNbt)
public NbtPathArgumentType$NbtPath
sourcePath()
sourcePath()
comp_1853()
parsedSourcePath()
public NbtPathArgumentType$NbtPath
targetPath()
targetPath()
comp_1854()
parsedTargetPath()
public CopyNbtLootFunction$Operator
op()
op()
comp_1855()
operator()