net.minecraft.world.level.storage.loot.entries

public class LootItem

extends LootPoolSingletonContainer

All mapped superinterfaces:

ComposableEntryContainer

ese
net.minecraft.world.level.storage.loot.entries.LootItem
net.minecraft.class_77
net.minecraft.loot.entry.ItemEntry
net.minecraft.src.C_2851_
net.minecraft.world.level.storage.loot.entries.LootItem

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<LootItem>
a
CODEC
field_45801
CODEC
f_290808_
private final Holder<Item>
j
item
field_987
item
f_79564_

Constructor summary

ModifierConstructor
private (Holder<Item> item, int weight, int quality, List<LootItemCondition> conditions, List<LootItemFunction> functions)

Method summary

Modifier and TypeMethod
public LootPoolEntryType
a()
getType()
method_29318()
getType()
m_6751_()
public void
a(Consumer<cuq> arg0, err arg1)
createItemStack(Consumer<ItemStack> arg0, LootContext arg1)
method_433(Consumer<class_1799> arg0, class_47 arg1)
generateLoot(Consumer<ItemStack> arg0, LootContext arg1)
m_6948_(Consumer<C_1391_> p_79591_, C_2811_ arg1)
public static LootPoolSingletonContainer$Builder<?>
a(dcv arg0)
lootTableItem(ItemLike arg0)
method_411(class_1935 arg0)
builder(ItemConvertible drop)
m_79579_(C_1595_ p_79580_)