Class ChanneledLightningCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.ChanneledLightningCriterion.Conditions
- All Implemented Interfaces:
AbstractCriterion.Conditions
,CriterionConditions
- Enclosing class:
ChanneledLightningCriterion
- Mappings:
Namespace Name official az$a
intermediary net/minecraft/class_2002$class_2004
named net/minecraft/advancement/criterion/ChanneledLightningCriterion$Conditions
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConditions
(Optional<LootContextPredicate> playerPredicate, List<LootContextPredicate> victims) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(EntityPredicate.Builder[] victims) boolean
matches
(Collection<? extends LootContext> victims) com.google.gson.JsonObject
toJson()
Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getPlayerPredicate
-
Field Details
-
victims
- Mappings:
Namespace Name Mixin selector official a
Laz$a;a:Ljava/util/List;
intermediary field_9503
Lnet/minecraft/class_2002$class_2004;field_9503:Ljava/util/List;
named victims
Lnet/minecraft/advancement/criterion/ChanneledLightningCriterion$Conditions;victims:Ljava/util/List;
-
-
Constructor Details
-
Conditions
public Conditions(Optional<LootContextPredicate> playerPredicate, List<LootContextPredicate> victims) - Mappings:
Namespace Name Mixin selector official <init>
Laz$a;<init>(Ljava/util/Optional;Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_2002$class_2004;<init>(Ljava/util/Optional;Ljava/util/List;)V
named <init>
Lnet/minecraft/advancement/criterion/ChanneledLightningCriterion$Conditions;<init>(Ljava/util/Optional;Ljava/util/List;)V
-
-
Method Details
-
create
public static AdvancementCriterion<ChanneledLightningCriterion.Conditions> create(EntityPredicate.Builder[] victims) - Mappings:
Namespace Name Mixin selector official a
Laz$a;a([Lbq$a;)Lam;
intermediary method_8809
Lnet/minecraft/class_2002$class_2004;method_8809([Lnet/minecraft/class_2048$class_2049;)Lnet/minecraft/class_175;
named create
Lnet/minecraft/advancement/criterion/ChanneledLightningCriterion$Conditions;create([Lnet/minecraft/predicate/entity/EntityPredicate$Builder;)Lnet/minecraft/advancement/AdvancementCriterion;
-
matches
- Mappings:
Namespace Name Mixin selector official a
Laz$a;a(Ljava/util/Collection;)Z
intermediary method_8808
Lnet/minecraft/class_2002$class_2004;method_8808(Ljava/util/Collection;)Z
named matches
Lnet/minecraft/advancement/criterion/ChanneledLightningCriterion$Conditions;matches(Ljava/util/Collection;)Z
-
toJson
public com.google.gson.JsonObject 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;
-