Package net.minecraft.loot.entry
Class LootPoolEntry
java.lang.Object
net.minecraft.loot.entry.LootPoolEntry
- All Implemented Interfaces:
EntryCombiner
- Direct Known Subclasses:
CombinedEntry
,LeafEntry
public abstract class LootPoolEntry extends Object implements EntryCombiner
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LootPoolEntry.Builder<T extends LootPoolEntry.Builder<T>>
static class
LootPoolEntry.Serializer<T extends LootPoolEntry>
-
Field Summary
Fields Modifier and Type Field Description private Predicate<LootContext>
conditionPredicate
protected LootCondition[]
conditions
Fields inherited from interface net.minecraft.loot.entry.EntryCombiner
ALWAYS_FALSE, ALWAYS_TRUE
-
Constructor Summary
Constructors Modifier Constructor Description protected
LootPoolEntry(LootCondition[] conditions)
-
Method Summary
Modifier and Type Method Description abstract LootPoolEntryType
getType()
protected boolean
test(LootContext context)
void
validate(LootTableReporter reporter)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.loot.entry.EntryCombiner
and, expand, or
-
Field Details
-
conditions
-
conditionPredicate
-
-
Constructor Details
-
LootPoolEntry
-
-
Method Details
-
validate
-
test
-
getType
-