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
Nested ClassesModifier and TypeClassDescriptionstatic interfaceNested 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
FieldsModifier and TypeFieldDescriptionprotected LootPoolEntryContainer[]private ComposableEntryContainerFields inherited from class net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer
conditionsFields inherited from interface net.minecraft.world.level.storage.loot.entries.ComposableEntryContainer
ALWAYS_FALSE, ALWAYS_TRUE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCompositeEntryBase(LootPoolEntryContainer[] p_79431_, LootItemCondition[] p_79432_) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ComposableEntryContainercompose(ComposableEntryContainer[] p_79437_)static <T extends CompositeEntryBase>
LootPoolEntryContainer.Serializer<T>createSerializer(CompositeEntryBase.CompositeEntryConstructor<T> p_79436_)booleanexpand(LootContext p_79439_, Consumer<LootPoolEntry> p_79440_)voidvalidate(ValidationContext p_79434_)Methods inherited from class net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer
canRun, getTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.storage.loot.entries.ComposableEntryContainer
and, or
-
Field Details
-
children
-
composedChildren
-
-
Constructor Details
-
CompositeEntryBase
-
-
Method Details
-
validate
- Overrides:
validatein classLootPoolEntryContainer
-
compose
-
expand
-
createSerializer
public static <T extends CompositeEntryBase> LootPoolEntryContainer.Serializer<T> createSerializer(CompositeEntryBase.CompositeEntryConstructor<T> p_79436_)
-