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

public class LootItem

extends LootPoolSingletonContainer

All mapped superinterfaces:

ComposableEntryContainer

exc
net.minecraft.world.level.storage.loot.entries.LootItem
net.minecraft.class_77
net.minecraft.loot.entry.ItemEntry
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
private final Holder<Item>
j
item
field_987
item

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()
public void
a(Consumer<cxp> arg0, ewp arg1)
createItemStack(Consumer<ItemStack> arg0, LootContext arg1)
method_433(Consumer<class_1799> arg0, class_47 arg1)
generateLoot(Consumer<ItemStack> arg0, LootContext arg1)
public static LootPoolSingletonContainer$Builder<?>
a(dhh arg0)
lootTableItem(ItemLike arg0)
method_411(class_1935 arg0)
builder(ItemConvertible drop)