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

public class CopyNbtFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

dld
net.minecraft.world.level.storage.loot.functions.CopyNbtFunction
net.minecraft.class_3837
net.minecraft.loot.function.CopyNbtLootFunction
net.minecraft.src.C_2896_
net.minecraft.world.level.storage.loot.functions.LootItemFunctionCopyNBT

Field summary

Modifier and TypeField
final NbtProvider
a
source
field_17013
source
f_80234_
final List<CopyNbtFunction$CopyOperation>
b
operations
field_17014
operations
f_80235_

Constructor summary

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

Method summary

Modifier and TypeMethod
public LootItemFunctionType
a()
getType()
method_29321()
getType()
m_7162_()
static NbtPathArgument$NbtPath
a(String arg0)
compileNbtPath(String arg0)
method_16853(String arg0)
parseNbtPath(String nbtPath)
m_80267_(String p_80268_)
public Set<LootContextParam<?>>
b()
getReferencedContextParams()
method_293()
getRequiredParameters()
m_6231_()
public ItemStack
a(bue arg0, dka arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_80251_, C_2811_ arg1)
public static CopyNbtFunction$Builder
a(dnh arg0)
copyData(NbtProvider arg0)
method_16848(class_5651 arg0)
builder(LootNbtProvider source)
m_165180_(C_141490_ p_165181_)
public static CopyNbtFunction$Builder
a(dka$c arg0)
copyData(LootContext$EntityTarget arg0)
method_35519(class_47$class_50 arg0)
builder(LootContext$EntityTarget target)
m_165178_(C_2811_$C_2815_ p_165179_)