Class LightningStrikeCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.LightningStrikeCriterion.Conditions
- All Implemented Interfaces:
CriterionConditions
- Enclosing class:
LightningStrikeCriterion
- Mappings:
Namespace Name official cg$a
intermediary net/minecraft/class_6405$class_6406
named net/minecraft/advancement/criterion/LightningStrikeCriterion$Conditions
-
Field Summary
Modifier and TypeFieldDescriptionprivate final EntityPredicate.Extended
private final EntityPredicate.Extended
-
Constructor Summary
ConstructorDescriptionConditions
(EntityPredicate.Extended player, EntityPredicate.Extended lightning, EntityPredicate.Extended bystander) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(EntityPredicate lightning, EntityPredicate bystander) boolean
test
(LootContext lightning, List<LootContext> bystanders) toJson
(AdvancementEntityPredicateSerializer predicateSerializer) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getId, getPlayerPredicate, toString
-
Field Details
-
lightning
- Mappings:
Namespace Name Mixin selector official a
Lcg$a;a:Lbo$b;
intermediary field_33926
Lnet/minecraft/class_6405$class_6406;field_33926:Lnet/minecraft/class_2048$class_5258;
named lightning
Lnet/minecraft/advancement/criterion/LightningStrikeCriterion$Conditions;lightning:Lnet/minecraft/predicate/entity/EntityPredicate$Extended;
-
bystander
- Mappings:
Namespace Name Mixin selector official b
Lcg$a;b:Lbo$b;
intermediary field_33927
Lnet/minecraft/class_6405$class_6406;field_33927:Lnet/minecraft/class_2048$class_5258;
named bystander
Lnet/minecraft/advancement/criterion/LightningStrikeCriterion$Conditions;bystander:Lnet/minecraft/predicate/entity/EntityPredicate$Extended;
-
-
Constructor Details
-
Conditions
public Conditions(EntityPredicate.Extended player, EntityPredicate.Extended lightning, EntityPredicate.Extended bystander) - Mappings:
Namespace Name Mixin selector official <init>
Lcg$a;<init>(Lbo$b;Lbo$b;Lbo$b;)V
intermediary <init>
Lnet/minecraft/class_6405$class_6406;<init>(Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2048$class_5258;)V
named <init>
Lnet/minecraft/advancement/criterion/LightningStrikeCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;)V
-
-
Method Details
-
create
public static LightningStrikeCriterion.Conditions create(EntityPredicate lightning, EntityPredicate bystander) - Mappings:
Namespace Name Mixin selector official a
Lcg$a;a(Lbo;Lbo;)Lcg$a;
intermediary method_37243
Lnet/minecraft/class_6405$class_6406;method_37243(Lnet/minecraft/class_2048;Lnet/minecraft/class_2048;)Lnet/minecraft/class_6405$class_6406;
named create
Lnet/minecraft/advancement/criterion/LightningStrikeCriterion$Conditions;create(Lnet/minecraft/predicate/entity/EntityPredicate;Lnet/minecraft/predicate/entity/EntityPredicate;)Lnet/minecraft/advancement/criterion/LightningStrikeCriterion$Conditions;
-
test
- Mappings:
Namespace Name Mixin selector official a
Lcg$a;a(Ldrf;Ljava/util/List;)Z
intermediary method_37244
Lnet/minecraft/class_6405$class_6406;method_37244(Lnet/minecraft/class_47;Ljava/util/List;)Z
named test
Lnet/minecraft/advancement/criterion/LightningStrikeCriterion$Conditions;test(Lnet/minecraft/loot/context/LootContext;Ljava/util/List;)Z
-
toJson
- Specified by:
toJson
in interfaceCriterionConditions
- Overrides:
toJson
in classAbstractCriterionConditions
- Mappings:
Namespace Name Mixin selector official a
Lan;a(Lct;)Lcom/google/gson/JsonObject;
intermediary method_807
Lnet/minecraft/class_184;method_807(Lnet/minecraft/class_5267;)Lcom/google/gson/JsonObject;
named toJson
Lnet/minecraft/advancement/criterion/CriterionConditions;toJson(Lnet/minecraft/predicate/entity/AdvancementEntityPredicateSerializer;)Lcom/google/gson/JsonObject;
-