Class PredicateManager.CompositePredicate
java.lang.Object
net.minecraft.world.level.storage.loot.PredicateManager.CompositePredicate
- All Implemented Interfaces:
Predicate<LootContext>
,LootContextUser
,LootItemCondition
- Enclosing class:
- PredicateManager
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.level.storage.loot.predicates.LootItemCondition
LootItemCondition.Builder
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetType()
boolean
test(LootContext p_79264_)
void
validate(ValidationContext p_79266_)
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.LootContextUser
getReferencedContextParams
-
Field Details
-
terms
-
composedPredicate
-
-
Constructor Details
-
CompositePredicate
CompositePredicate(LootItemCondition[] p_79259_)
-
-
Method Details
-
test
- Specified by:
test
in interfacePredicate<LootContext>
-
validate
- Specified by:
validate
in interfaceLootContextUser
-
getType
- Specified by:
getType
in interfaceLootItemCondition
-