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

public class SetCustomDataFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

fbg
net.minecraft.world.level.storage.loot.functions.SetCustomDataFunction
net.minecraft.class_159
net.minecraft.unmapped.C_sxzxxsuj
net.minecraft.loot.function.SetCustomDataLootFunction
net.minecraft.loot.function.SetCustomDataLootFunction

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<SetCustomDataFunction>
a
CODEC
field_45849
f_ongopwcc
CODEC
CODEC
private final CompoundTag
b
tag
field_1138
f_avtjnnla
nbt
data

Constructor summary

ModifierConstructor
private (List<LootItemCondition> conditions, CompoundTag nbt)

Method summary

Modifier and TypeMethod
public LootItemFunctionType<SetCustomDataFunction>
b()
getType()
method_29321()
m_ngvoddkv()
getType()
getType()
public ItemStack
a(czd arg0, ezh arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
m_axzztavb(C_sddaxwyk arg0, C_iakykpgh arg1)
process(ItemStack arg0, LootContext arg1)
process(ItemStack arg0, LootContext arg1)
public static LootItemConditionalFunction$Builder<?>
a(tz arg0)
setCustomData(CompoundTag arg0)
method_57654(class_2487 arg0)
m_rxgkcwzi(C_hhlwcnih arg0)
builder(NbtCompound nbt)
builder(NbtCompound data)