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

public class SetNbtFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

cts
net.minecraft.world.level.storage.loot.functions.SetNbtFunction
net.minecraft.class_159
net.minecraft.loot.function.SetNbtLootFunction
net.minecraft.world.storage.loot.functions.SetNBT
net.minecraft.server.v1_15_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 ItemStack
a(ben arg0, crx 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(jt arg0)
setTag(CompoundTag arg0)
method_677(class_2487 arg0)
builder(CompoundTag tag)
func_215952_a(CompoundNBT arg0)