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

public class CopyCustomDataFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

ess
net.minecraft.world.level.storage.loot.functions.CopyCustomDataFunction
net.minecraft.class_3837
net.minecraft.unmapped.C_hgtsxeep
net.minecraft.loot.function.CopyNbtLootFunction
net.minecraft.loot.function.CopyCustomDataLootFunction
net.minecraft.src.C_313426_
net.minecraft.world.level.storage.loot.functions.CopyCustomDataFunction

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<CopyCustomDataFunction>
a
CODEC
field_45819
f_iiugziuj
CODEC
CODEC
f_314264_
private final NbtProvider
b
source
field_17013
f_irzppxew
source
source
f_316901_
private final List<CopyCustomDataFunction$CopyOperation>
c
operations
field_17014
f_acqjlczi
operations
ops
f_315899_

Constructor summary

ModifierConstructor
(List<LootItemCondition> conditions, NbtProvider source, List<CopyCustomDataFunction$CopyOperation> operations)

Method summary

Modifier and TypeMethod
public LootItemFunctionType<CopyCustomDataFunction>
b()
getType()
method_29321()
m_ngvoddkv()
getType()
getType()
m_7162_()
public Set<LootContextParam<?>>
a()
getReferencedContextParams()
method_293()
m_oozesizv()
getRequiredParameters()
getRequiredParameters()
m_6231_()
public ItemStack
a(cuq arg0, err arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
m_axzztavb(C_sddaxwyk arg0, C_iakykpgh arg1)
process(ItemStack arg0, LootContext arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_334578_, C_2811_ arg1)
public static CopyCustomDataFunction$Builder
a(evq arg0)
copyData(NbtProvider arg0)
method_16848(class_5651 arg0)
m_vxektqqj(C_oipfkqpe arg0)
builder(LootNbtProvider source)
m_324427_(C_141490_ p_335021_)
public static CopyCustomDataFunction$Builder
a(err$b arg0)
copyData(LootContext$EntityTarget arg0)
method_35519(class_47$class_50 arg0)
m_efwytlqp(C_iakykpgh$C_qtufoufh arg0)
builder(LootContext$EntityTarget target)
m_efwytlqp(LootContext$EntityTarget target)
m_319309_(C_2811_$C_2815_ p_329362_)