net.minecraft.world.level.storage.loot.functions

public class CopyNbtFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

cta
net.minecraft.world.level.storage.loot.functions.CopyNbtFunction
net.minecraft.class_3837
net.minecraft.loot.function.CopyNbtLootFunction
net.minecraft.world.storage.loot.functions.CopyNbt
net.minecraft.server.v1_15_R1.LootItemFunctionCopyNBT

Field summary

Modifier and TypeField
private final CopyNbtFunction$DataSource
a
source
field_17013
source
field_215887_a
private final List<CopyNbtFunction$CopyOperation>
c
operations
field_17014
operations
field_215888_c
private static final Function<Entity, Tag>
d
ENTITY_GETTER
field_17015
ENTITY_TAG_GETTER
field_215889_d
private static final Function<BlockEntity, Tag>
e
BLOCK_ENTITY_GETTER
field_17016
BLOCK_ENTITY_TAG_GETTER
field_215890_e

Constructor summary

ModifierConstructor
private (LootItemCondition[] conditions, CopyNbtFunction$DataSource source, List<CopyNbtFunction$CopyOperation> operations)

Method summary

Modifier and TypeMethod
private static NbtPathArgument$NbtPath
b(String arg0)
compileNbtPath(String arg0)
method_16853(String arg0)
parseNbtPath(String nbtPath)
func_215880_b(String arg0)
public Set<LootContextParam<?>>
a()
getReferencedContextParams()
method_293()
getRequiredParameters()
func_215855_a()
public ItemStack
a(ben arg0, crx arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
func_215859_a(ItemStack arg0, LootContext arg1)
public static CopyNbtFunction$Builder
a(cta$c arg0)
copyData(CopyNbtFunction$DataSource arg0)
method_16848(class_3837$class_3840 arg0)
builder(CopyNbtLootFunction$Source source)
func_215881_a(CopyNbt$Source arg0)