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
- Mappings:
Namespace Name official dsi$a
intermediary net/minecraft/class_4567$class_5334
named net/minecraft/loot/condition/LootConditionManager$AndCondition
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.loot.condition.LootCondition
LootCondition.Builder
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Predicate<LootContext>
private final LootCondition[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetType()
final 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
- Mappings:
Namespace Name Mixin selector official a
Ldsi$a;a:[Ldux;
intermediary field_25202
Lnet/minecraft/class_4567$class_5334;field_25202:[Lnet/minecraft/class_5341;
named terms
Lnet/minecraft/loot/condition/LootConditionManager$AndCondition;terms:[Lnet/minecraft/loot/condition/LootCondition;
-
predicate
- Mappings:
Namespace Name Mixin selector official b
Ldsi$a;b:Ljava/util/function/Predicate;
intermediary field_25203
Lnet/minecraft/class_4567$class_5334;field_25203:Ljava/util/function/Predicate;
named predicate
Lnet/minecraft/loot/condition/LootConditionManager$AndCondition;predicate:Ljava/util/function/Predicate;
-
-
Constructor Details
-
AndCondition
AndCondition(LootCondition[] terms) - Mappings:
Namespace Name Mixin selector official <init>
Ldsi$a;<init>([Ldux;)V
intermediary <init>
Lnet/minecraft/class_4567$class_5334;<init>([Lnet/minecraft/class_5341;)V
named <init>
Lnet/minecraft/loot/condition/LootConditionManager$AndCondition;<init>([Lnet/minecraft/loot/condition/LootCondition;)V
-
-
Method Details
-
test
- Specified by:
test
in interfacePredicate<LootContext>
- Mappings:
Namespace Name Mixin selector official a
Ldsi$a;a(Ldsd;)Z
intermediary method_29311
Lnet/minecraft/class_4567$class_5334;method_29311(Lnet/minecraft/class_47;)Z
named test
Lnet/minecraft/loot/condition/LootConditionManager$AndCondition;test(Lnet/minecraft/loot/context/LootContext;)Z
-
validate
- Specified by:
validate
in interfaceLootContextAware
- Mappings:
Namespace Name Mixin selector official a
Ldse;a(Ldsl;)V
intermediary method_292
Lnet/minecraft/class_46;method_292(Lnet/minecraft/class_58;)V
named validate
Lnet/minecraft/loot/context/LootContextAware;validate(Lnet/minecraft/loot/LootTableReporter;)V
-
getType
- Specified by:
getType
in interfaceLootCondition
- Mappings:
Namespace Name Mixin selector official a
Ldux;a()Lduy;
intermediary method_29325
Lnet/minecraft/class_5341;method_29325()Lnet/minecraft/class_5342;
named getType
Lnet/minecraft/loot/condition/LootCondition;getType()Lnet/minecraft/loot/condition/LootConditionType;
-