Class CompositeLootItemCondition
java.lang.Object
net.minecraft.world.level.storage.loot.predicates.CompositeLootItemCondition
- All Implemented Interfaces:
- Predicate<LootContext>,- LootContextUser,- LootItemCondition
- Direct Known Subclasses:
- AllOfCondition,- AnyOfCondition
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final Predicate<LootContext>protected final List<LootItemCondition>
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedCompositeLootItemCondition(List<LootItemCondition> p_299430_, Predicate<LootContext> p_286771_) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected static <T extends CompositeLootItemCondition>
 com.mojang.serialization.Codec<T>createCodec(Function<List<LootItemCondition>, T> p_297590_) protected static <T extends CompositeLootItemCondition>
 com.mojang.serialization.Codec<T>createInlineCodec(Function<List<LootItemCondition>, T> p_298800_) final booleantest(LootContext p_286298_) voidvalidate(ValidationContext p_286819_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.storage.loot.LootContextUsergetReferencedContextParamsMethods inherited from interface net.minecraft.world.level.storage.loot.predicates.LootItemConditiongetType
- 
Field Details- 
terms
- 
composedPredicate
 
- 
- 
Constructor Details- 
CompositeLootItemConditionprotected CompositeLootItemCondition(List<LootItemCondition> p_299430_, Predicate<LootContext> p_286771_) 
 
- 
- 
Method Details- 
createCodecprotected static <T extends CompositeLootItemCondition> com.mojang.serialization.Codec<T> createCodec(Function<List<LootItemCondition>, T> p_297590_) 
- 
createInlineCodecprotected static <T extends CompositeLootItemCondition> com.mojang.serialization.Codec<T> createInlineCodec(Function<List<LootItemCondition>, T> p_298800_) 
- 
test- Specified by:
- testin interface- Predicate<LootContext>
 
- 
validate- Specified by:
- validatein interface- LootContextUser
 
 
-