Package net.minecraft.loot.entry
Class CombinedEntry
java.lang.Object
net.minecraft.loot.entry.LootPoolEntry
net.minecraft.loot.entry.CombinedEntry
- All Implemented Interfaces:
EntryCombiner
- Direct Known Subclasses:
AlternativeEntry,GroupEntry,SequenceEntry
public abstract class CombinedEntry extends LootPoolEntry
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCombinedEntry.Factory<T extends CombinedEntry>Nested classes/interfaces inherited from class net.minecraft.loot.entry.LootPoolEntry
LootPoolEntry.Builder<T extends LootPoolEntry.Builder<T>>, LootPoolEntry.Serializer<T extends LootPoolEntry> -
Field Summary
Fields Modifier and Type Field Description protected LootPoolEntry[]childrenprivate EntryCombinerpredicateFields inherited from class net.minecraft.loot.entry.LootPoolEntry
conditionsFields inherited from interface net.minecraft.loot.entry.EntryCombiner
ALWAYS_FALSE, ALWAYS_TRUE -
Constructor Summary
Constructors Modifier Constructor Description protectedCombinedEntry(LootPoolEntry[] children, LootCondition[] conditions) -
Method Summary
Modifier and Type Method Description protected abstract EntryCombinercombine(EntryCombiner[] children)static <T extends CombinedEntry>
LootPoolEntry.Serializer<T>createSerializer(CombinedEntry.Factory<T> factory)booleanexpand(LootContext context, Consumer<LootChoice> choiceConsumer)voidvalidate(LootTableReporter reporter)Methods inherited from class net.minecraft.loot.entry.LootPoolEntry
getType, testMethods 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, or
-
Field Details
-
children
-
predicate
-
-
Constructor Details
-
CombinedEntry
-
-
Method Details
-
validate
- Overrides:
validatein classLootPoolEntry
-
combine
-
expand
-
createSerializer
public static <T extends CombinedEntry> LootPoolEntry.Serializer<T> createSerializer(CombinedEntry.Factory<T> factory)
-