public class ItemEntry extends LeafEntry
| Modifier and Type | Class and Description |
|---|---|
static class |
ItemEntry.Serializer |
LeafEntry.BasicBuilder, LeafEntry.Builder<T extends LeafEntry.Builder<T>>, LeafEntry.Choice, LeafEntry.FactoryLootPoolEntry.class_5337<T extends LootPoolEntry>| Modifier and Type | Field and Description |
|---|---|
private Item |
item |
conditionsALWAYS_FALSE, ALWAYS_TRUE| Modifier | Constructor and Description |
|---|---|
private |
ItemEntry(Item item,
int weight,
int quality,
LootCondition[] conditions,
LootFunction[] functions) |
| Modifier and Type | Method and Description |
|---|---|
static LeafEntry.Builder<?> |
builder(ItemConvertible drop) |
void |
generateLoot(Consumer<ItemStack> lootConsumer,
LootContext context) |
LootPoolEntryType |
method_29318() |
testclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitand, orprivate final Item item
private ItemEntry(Item item, int weight, int quality, LootCondition[] conditions, LootFunction[] functions)
public LootPoolEntryType method_29318()
method_29318 in class LootPoolEntrypublic void generateLoot(Consumer<ItemStack> lootConsumer, LootContext context)
generateLoot in class LeafEntrypublic static LeafEntry.Builder<?> builder(ItemConvertible drop)