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

public class SetNbtFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

eiy
net.minecraft.world.level.storage.loot.functions.SetNbtFunction
net.minecraft.class_159
net.minecraft.unmapped.C_arpmpzjb
net.minecraft.loot.function.SetNbtLootFunction
net.minecraft.loot.function.SetNbtLootFunction
net.minecraft.src.C_2958_
net.minecraft.world.level.storage.loot.functions.LootItemFunctionSetTag

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<SetNbtFunction>
a
CODEC
field_45849
f_nzlypqhd
CODEC
CODEC
f_290357_
private final CompoundTag
b
tag
field_1138
f_bgqdwtfp
nbt
nbt
f_81174_

Constructor summary

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

Method summary

Modifier and TypeMethod
public LootItemFunctionType
b()
getType()
method_29321()
m_ngvoddkv()
getType()
getType()
m_7162_()
public ItemStack
a(cmy arg0, egw 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_81184_, C_2811_ arg1)
public static LootItemConditionalFunction$Builder<?>
a(sn arg0)
setTag(CompoundTag arg0)
method_677(class_2487 arg0)
m_aexqjpfp(C_hhlwcnih arg0)
builder(NbtCompound nbt)
builder(NbtCompound nbt)
m_81187_(C_4917_ p_81188_)