Package net.minecraft.loot.condition
Class AlternativeLootCondition
java.lang.Object
net.minecraft.loot.condition.AlternativeLootCondition
- All Implemented Interfaces:
Predicate<LootContext>
,LootCondition
,LootContextAware
- Mappings:
Namespace Name official dlw
intermediary net/minecraft/class_186
named net/minecraft/loot/condition/AlternativeLootCondition
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Predicate<LootContext>
(package private) final LootCondition[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder
(LootCondition.Builder[] terms) getType()
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
Ldlw;a:[Ldmg;
intermediary field_1246
Lnet/minecraft/class_186;field_1246:[Lnet/minecraft/class_5341;
named terms
Lnet/minecraft/loot/condition/AlternativeLootCondition;terms:[Lnet/minecraft/loot/condition/LootCondition;
-
predicate
- Mappings:
Namespace Name Mixin selector official b
Ldlw;b:Ljava/util/function/Predicate;
intermediary field_1247
Lnet/minecraft/class_186;field_1247:Ljava/util/function/Predicate;
named predicate
Lnet/minecraft/loot/condition/AlternativeLootCondition;predicate:Ljava/util/function/Predicate;
-
-
Constructor Details
-
AlternativeLootCondition
AlternativeLootCondition(LootCondition[] terms) - Mappings:
Namespace Name Mixin selector official <init>
Ldlw;<init>([Ldmg;)V
intermediary <init>
Lnet/minecraft/class_186;<init>([Lnet/minecraft/class_5341;)V
named <init>
Lnet/minecraft/loot/condition/AlternativeLootCondition;<init>([Lnet/minecraft/loot/condition/LootCondition;)V
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceLootCondition
- Mappings:
Namespace Name Mixin selector official a
Ldmg;a()Ldmh;
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;
-
test
- Specified by:
test
in interfacePredicate<LootContext>
- Mappings:
Namespace Name Mixin selector official a
Ldlw;a(Ldjn;)Z
intermediary method_825
Lnet/minecraft/class_186;method_825(Lnet/minecraft/class_47;)Z
named test
Lnet/minecraft/loot/condition/AlternativeLootCondition;test(Lnet/minecraft/loot/context/LootContext;)Z
-
validate
- Specified by:
validate
in interfaceLootContextAware
- Mappings:
Namespace Name Mixin selector official a
Ldjo;a(Ldjv;)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
-
builder
- Mappings:
Namespace Name Mixin selector official a
Ldlw;a([Ldmg$a;)Ldlw$a;
intermediary method_826
Lnet/minecraft/class_186;method_826([Lnet/minecraft/class_5341$class_210;)Lnet/minecraft/class_186$class_187;
named builder
Lnet/minecraft/loot/condition/AlternativeLootCondition;builder([Lnet/minecraft/loot/condition/LootCondition$Builder;)Lnet/minecraft/loot/condition/AlternativeLootCondition$Builder;
-