net.minecraft.loot.function

public class SetNbtLootFunction

extends ConditionalLootFunction

All mapped superinterfaces:

LootFunction, LootContextAware

eiy
net.minecraft.world.level.storage.loot.functions.SetNbtFunction
net.minecraft.class_159
net.minecraft.loot.function.SetNbtLootFunction
net.minecraft.unmapped.C_arpmpzjb
net.minecraft.loot.function.SetNbtLootFunction
net.minecraft.src.C_2958_

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<SetNbtLootFunction>
a
CODEC
field_45849
CODEC
f_nzlypqhd
CODEC
f_290357_
private final NbtCompound
b
tag
field_1138
nbt
f_bgqdwtfp
nbt
f_81174_

Constructor summary

ModifierConstructor
private (List<LootCondition> conditions, NbtCompound nbt)

Method summary

Modifier and TypeMethod
public LootFunctionType
b()
getType()
method_29321()
getType()
m_ngvoddkv()
getType()
m_7162_()
public ItemStack
a(cmy o, egw arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
m_axzztavb(C_sddaxwyk arg0, C_iakykpgh arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_81184_, C_2811_ arg1)
public static ConditionalLootFunction$Builder<?>
a(sn o)
setTag(CompoundTag arg0)
method_677(class_2487 arg0)
builder(NbtCompound nbt)
m_aexqjpfp(C_hhlwcnih arg0)
builder(NbtCompound nbt)
m_81187_(C_4917_ p_81188_)