Package net.minecraft.loot.condition
Class LootConditionManager.AndCondition
java.lang.Object
net.minecraft.loot.condition.LootConditionManager.AndCondition
- All Implemented Interfaces:
Predicate<LootContext>,LootCondition,LootContextAware
- Enclosing class:
- LootConditionManager
static class LootConditionManager.AndCondition extends Object implements LootCondition
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.loot.condition.LootCondition
LootCondition.Builder -
Field Summary
Fields Modifier and Type Field Description private Predicate<LootContext>predicateprivate LootCondition[]terms -
Constructor Summary
Constructors Modifier Constructor Description privateAndCondition(LootCondition[] elements) -
Method Summary
Modifier and Type Method Description LootConditionTypegetType()booleantest(LootContext lootContext)voidvalidate(LootTableReporter reporter)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.loot.context.LootContextAware
getRequiredParameters
-
Field Details
-
terms
-
predicate
-
-
Constructor Details
-
AndCondition
-
-
Method Details
-
test
- Specified by:
testin interfacePredicate<LootContext>
-
validate
- Specified by:
validatein interfaceLootContextAware
-
getType
- Specified by:
getTypein interfaceLootCondition
-