Class CompositeEntryBase
java.lang.Object
net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer
net.minecraft.world.level.storage.loot.entries.CompositeEntryBase
- All Implemented Interfaces:
ComposableEntryContainer
- Direct Known Subclasses:
AlternativesEntry
,EntryGroup
,SequentialEntry
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Nested classes/interfaces inherited from class net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer
LootPoolEntryContainer.Builder<T extends LootPoolEntryContainer.Builder<T>>, LootPoolEntryContainer.Serializer<T extends LootPoolEntryContainer>
-
Field Summary
Modifier and TypeFieldDescriptionprotected LootPoolEntryContainer[]
private ComposableEntryContainer
Fields inherited from class net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer
conditions
Fields inherited from interface net.minecraft.world.level.storage.loot.entries.ComposableEntryContainer
ALWAYS_FALSE, ALWAYS_TRUE
-
Constructor Summary
ModifierConstructorDescriptionprotected
CompositeEntryBase(LootPoolEntryContainer[] p_79431_, LootItemCondition[] p_79432_)
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ComposableEntryContainer
compose(ComposableEntryContainer[] p_79437_)
static <T extends CompositeEntryBase>
LootPoolEntryContainer.Serializer<T>createSerializer(CompositeEntryBase.CompositeEntryConstructor<T> p_79436_)
boolean
expand(LootContext p_79439_, Consumer<LootPoolEntry> p_79440_)
void
validate(ValidationContext p_79434_)
Methods inherited from class net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer
canRun, getType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.level.storage.loot.entries.ComposableEntryContainer
and, or
-
Field Details
-
children
-
composedChildren
-
-
Constructor Details
-
CompositeEntryBase
-
-
Method Details
-
validate
- Overrides:
validate
in classLootPoolEntryContainer
-
compose
-
expand
-
createSerializer
public static <T extends CompositeEntryBase> LootPoolEntryContainer.Serializer<T> createSerializer(CompositeEntryBase.CompositeEntryConstructor<T> p_79436_)
-