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

public class SetNbtFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

dau
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_R3.LootItemFunctionSetTag

字段概要

修饰符与类型字段
private final CompoundTag
a
tag
field_1138
nbt
field_186570_a

构造函数概要

修饰符构造函数
private (LootItemCondition[] conditions, CompoundTag tag)

方法概要

修饰符与类型方法
public LootItemFunctionType
b()
getType()
method_29321()
getType()
func_230425_b_()
public ItemStack
a(bmb arg0, cyv 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(NbtCompound nbt)
func_215952_a(CompoundNBT arg0)