Class LightningStrikeCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.LightningStrikeCriterion.Conditions
- All Implemented Interfaces:
AbstractCriterion.Conditions
,CriterionConditions
- Enclosing class:
LightningStrikeCriterion
- Mappings:
Namespace Name official ci$a
intermediary net/minecraft/class_6405$class_6406
named net/minecraft/advancement/criterion/LightningStrikeCriterion$Conditions
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Optional<LootContextPredicate>
private final Optional<LootContextPredicate>
-
Constructor Summary
ConstructorDescriptionConditions
(Optional<LootContextPredicate> playerPredicate, Optional<LootContextPredicate> lightning, Optional<LootContextPredicate> bystander) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(Optional<EntityPredicate> lightning, Optional<EntityPredicate> bystander) boolean
test
(LootContext lightning, List<LootContext> bystanders) toJson()
Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getPlayerPredicate
-
Field Details
-
lightning
- Mappings:
Namespace Name Mixin selector official a
Lci$a;a:Ljava/util/Optional;
intermediary field_33926
Lnet/minecraft/class_6405$class_6406;field_33926:Ljava/util/Optional;
named lightning
Lnet/minecraft/advancement/criterion/LightningStrikeCriterion$Conditions;lightning:Ljava/util/Optional;
-
bystander
- Mappings:
Namespace Name Mixin selector official b
Lci$a;b:Ljava/util/Optional;
intermediary field_33927
Lnet/minecraft/class_6405$class_6406;field_33927:Ljava/util/Optional;
named bystander
Lnet/minecraft/advancement/criterion/LightningStrikeCriterion$Conditions;bystander:Ljava/util/Optional;
-
-
Constructor Details
-
Conditions
public Conditions(Optional<LootContextPredicate> playerPredicate, Optional<LootContextPredicate> lightning, Optional<LootContextPredicate> bystander) - Mappings:
Namespace Name Mixin selector official <init>
Lci$a;<init>(Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;)V
intermediary <init>
Lnet/minecraft/class_6405$class_6406;<init>(Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;)V
named <init>
Lnet/minecraft/advancement/criterion/LightningStrikeCriterion$Conditions;<init>(Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;)V
-
-
Method Details
-
create
public static AdvancementCriterion<LightningStrikeCriterion.Conditions> create(Optional<EntityPredicate> lightning, Optional<EntityPredicate> bystander) - Mappings:
Namespace Name Mixin selector official a
Lci$a;a(Ljava/util/Optional;Ljava/util/Optional;)Lam;
intermediary method_37243
Lnet/minecraft/class_6405$class_6406;method_37243(Ljava/util/Optional;Ljava/util/Optional;)Lnet/minecraft/class_175;
named create
Lnet/minecraft/advancement/criterion/LightningStrikeCriterion$Conditions;create(Ljava/util/Optional;Ljava/util/Optional;)Lnet/minecraft/advancement/AdvancementCriterion;
-
test
- Mappings:
Namespace Name Mixin selector official a
Lci$a;a(Lecq;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
Lap;a()Lcom/google/gson/JsonObject;
intermediary method_807
Lnet/minecraft/class_184;method_807()Lcom/google/gson/JsonObject;
named toJson
Lnet/minecraft/advancement/criterion/CriterionConditions;toJson()Lcom/google/gson/JsonObject;
-