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

public class SetNbtFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

dkn
net.minecraft.world.level.storage.loot.functions.SetNbtFunction
net.minecraft.class_159
net.minecraft.loot.function.SetNbtLootFunction
net.minecraft.src.C_2958_
net.minecraft.world.level.storage.loot.functions.LootItemFunctionSetTag

Field summary

Modifier and TypeField
final CompoundTag
a
tag
field_1138
nbt
f_81174_

Constructor summary

ModifierConstructor
(LootItemCondition[] p_81177_, CompoundTag arg1)

Method summary

Modifier and TypeMethod
public LootItemFunctionType
a()
getType()
method_29321()
getType()
m_7162_()
public ItemStack
a(bqq arg0, dip arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_81184_, C_2811_ arg1)
public static LootItemConditionalFunction$Builder<?>
a(na arg0)
setTag(CompoundTag arg0)
method_677(class_2487 arg0)
builder(NbtCompound nbt)
m_81187_(C_4917_ p_81188_)