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

public class SetNbtFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

dar
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_R2.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(bly arg0, cys 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(md arg0)
setTag(CompoundTag arg0)
method_677(class_2487 arg0)
builder(CompoundTag tag)
func_215952_a(CompoundNBT arg0)