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