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

public class SetNbtFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

dcs
net.minecraft.world.level.storage.loot.functions.SetNbtFunction
net.minecraft.class_159
net.minecraft.loot.function.SetNbtLootFunction
net.minecraft.loot.functions.SetNBT
net.minecraft.server.v1_16_R1.LootItemFunctionSetTag

Field summary

Modifier and TypeField
private final CompoundTag
a
tag
field_1138
tag
field_186570_a

Constructor summary

ModifierConstructor
private (LootItemCondition[] conditions, CompoundTag tag)

Method summary

Modifier and TypeMethod
public LootItemFunctionType
b()
getType()
method_29321()
getType()
func_230425_b_()
public ItemStack
a(bki arg0, dat arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
func_215859_a(ItemStack arg0, LootContext arg1)
public static LootItemConditionalFunction$Builder<?>
a(le arg0)
setTag(CompoundTag arg0)
method_677(class_2487 arg0)
builder(CompoundTag tag)
func_215952_a(CompoundNBT arg0)