Class LootPoolEntryContainer
java.lang.Object
net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer
- All Implemented Interfaces:
ComposableEntryContainer
- Direct Known Subclasses:
CompositeEntryBase
,LootPoolSingletonContainer
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Predicate<LootContext>
protected final List<LootItemCondition>
Fields inherited from interface net.minecraft.world.level.storage.loot.entries.ComposableEntryContainer
ALWAYS_FALSE, ALWAYS_TRUE
-
Constructor Summary
ModifierConstructorDescriptionprotected
LootPoolEntryContainer
(List<LootItemCondition> p_298327_) -
Method Summary
Modifier and TypeMethodDescriptionprotected final boolean
canRun
(LootContext p_79640_) protected static <T extends LootPoolEntryContainer>
com.mojang.datafixers.Products.P1<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<T>,List<LootItemCondition>> commonFields
(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<T> p_297717_) abstract LootPoolEntryType
getType()
void
validate
(ValidationContext p_79641_) 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, expand, or
-
Field Details
-
conditions
-
compositeCondition
-
-
Constructor Details
-
LootPoolEntryContainer
-
-
Method Details
-
commonFields
protected static <T extends LootPoolEntryContainer> com.mojang.datafixers.Products.P1<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<T>,List<LootItemCondition>> commonFields(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<T> p_297717_) -
validate
-
canRun
-
getType
-