public class LootTableEntry extends LeafEntry
| Modifier and Type | Class and Description |
|---|---|
static class |
LootTableEntry.Serializer |
LeafEntry.BasicBuilder, LeafEntry.Builder<T extends LeafEntry.Builder<T>>, LeafEntry.Choice, LeafEntry.Factory| Modifier and Type | Field and Description |
|---|---|
private Identifier |
id |
conditionsALWAYS_FALSE, ALWAYS_TRUE| Modifier | Constructor and Description |
|---|---|
private |
LootTableEntry(Identifier id,
int weight,
int quality,
LootCondition[] conditions,
LootFunction[] functions) |
| Modifier and Type | Method and Description |
|---|---|
static LeafEntry.Builder<?> |
builder(Identifier id) |
void |
check(LootTableReporter lootTableReporter) |
void |
drop(Consumer<ItemStack> itemDropper,
LootContext context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitand, orprivate final Identifier id
private LootTableEntry(Identifier id, int weight, int quality, LootCondition[] conditions, LootFunction[] functions)
public void drop(Consumer<ItemStack> itemDropper, LootContext context)
public void check(LootTableReporter lootTableReporter)
public static LeafEntry.Builder<?> builder(Identifier id)