public class EmptyEntry extends LeafEntry
Modifier and Type | Class and Description |
---|---|
static class |
EmptyEntry.Serializer |
LeafEntry.BasicBuilder, LeafEntry.Builder<T extends LeafEntry.Builder<T>>, LeafEntry.Choice, LeafEntry.Factory
conditions
ALWAYS_FALSE, ALWAYS_TRUE
Modifier | Constructor and Description |
---|---|
private |
EmptyEntry(int weight,
int quality,
LootCondition[] conditions,
LootFunction[] functions) |
Modifier and Type | Method and Description |
---|---|
void |
generateLoot(Consumer<ItemStack> lootConsumer,
LootContext context) |
LootPoolEntryType |
getType() |
static LeafEntry.Builder<?> |
Serializer() |
test
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
and, or
private EmptyEntry(int weight, int quality, LootCondition[] conditions, LootFunction[] functions)
public LootPoolEntryType getType()
getType
in class LootPoolEntry
public void generateLoot(Consumer<ItemStack> lootConsumer, LootContext context)
generateLoot
in class LeafEntry
public static LeafEntry.Builder<?> Serializer()