net.minecraft.loot.function

record CopyNbtLootFunction$Operation

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
comp_1853
parsedSourcePath
private final NbtPathArgumentType$NbtPath
targetPath
comp_1854
parsedTargetPath
private final CopyNbtLootFunction$Operator
op
comp_1855
operator
public static final com.mojang.serialization.Codec<CopyNbtLootFunction$Operation>
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)
method_16860(Supplier<class_2520> arg0, class_2520 arg1)
execute(Supplier<NbtElement> itemNbtGetter, NbtElement sourceEntityNbt)
public NbtPathArgumentType$NbtPath
sourcePath()
comp_1853()
parsedSourcePath()
public NbtPathArgumentType$NbtPath
targetPath()
comp_1854()
parsedTargetPath()
public CopyNbtLootFunction$Operator
op()
comp_1855()
operator()
private static com.mojang.datafixers.kinds.App
lambda$static$0(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_53318(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_53318(com.mojang.serialization.codecs.RecordCodecBuilder$Instance instance)