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>
predicate
private LootCondition[]
terms
-
Constructor Summary
Constructors Modifier Constructor Description private
AndCondition(LootCondition[] elements)
-
Method Summary
Modifier and Type Method Description LootConditionType
getType()
boolean
test(LootContext lootContext)
void
validate(LootTableReporter reporter)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.loot.context.LootContextAware
getRequiredParameters
-
Field Details
-
terms
-
predicate
-
-
Constructor Details
-
AndCondition
-
-
Method Details
-
test
- Specified by:
test
in interfacePredicate<LootContext>
-
validate
- Specified by:
validate
in interfaceLootContextAware
-
getType
- Specified by:
getType
in interfaceLootCondition
-