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

public class SetCustomDataFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

eyn
net.minecraft.world.level.storage.loot.functions.SetCustomDataFunction
net.minecraft.class_159
net.minecraft.unmapped.C_sxzxxsuj
net.minecraft.loot.function.SetCustomDataLootFunction
net.minecraft.loot.function.SetCustomDataLootFunction
net.minecraft.src.C_313313_
net.minecraft.world.level.storage.loot.functions.LootItemFunctionSetTable

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<SetCustomDataFunction>
a
CODEC
field_45849
f_ongopwcc
CODEC
CODEC
f_314300_
private final CompoundTag
b
tag
field_1138
f_avtjnnla
nbt
tag
f_314948_

Constructor summary

ModifierConstructor
private (List<LootItemCondition> conditions, CompoundTag nbt)

Method summary

Modifier and TypeMethod
public LootItemFunctionType<SetCustomDataFunction>
b()
getType()
method_29321()
m_ngvoddkv()
getType()
getType()
m_7162_()
public ItemStack
a(cxo arg0, ewo 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_331034_, C_2811_ arg1)
public static LootItemConditionalFunction$Builder<?>
a(ux arg0)
setCustomData(CompoundTag arg0)
method_57654(class_2487 arg0)
m_rxgkcwzi(C_hhlwcnih arg0)
builder(NbtCompound nbt)
m_323013_(C_4917_ p_328660_)