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 classLootPoolEntry.Builder<T extends LootPoolEntry.Builder<T>>static classLootPoolEntry.Serializer<T extends LootPoolEntry> -
Field Summary
Fields Modifier and Type Field Description private Predicate<LootContext>conditionPredicateprotected LootCondition[]conditionsFields inherited from interface net.minecraft.loot.entry.EntryCombiner
ALWAYS_FALSE, ALWAYS_TRUE -
Constructor Summary
Constructors Modifier Constructor Description protectedLootPoolEntry(LootCondition[] conditions) -
Method Summary
Modifier and Type Method Description abstract LootPoolEntryTypegetType()protected booleantest(LootContext context)voidvalidate(LootTableReporter reporter)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.loot.entry.EntryCombiner
and, expand, or
-
Field Details
-
conditions
-
conditionPredicate
-
-
Constructor Details
-
LootPoolEntry
-
-
Method Details
-
validate
-
test
-
getType
-