Class ChanneledLightningCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.ChanneledLightningCriterion.Conditions
- All Implemented Interfaces:
CriterionConditions
- Enclosing class:
- ChanneledLightningCriterion
public static class ChanneledLightningCriterion.Conditions extends AbstractCriterionConditions
- Mappings:
Namespace Name official ar$a
intermediary net/minecraft/class_2002$class_2004
named net/minecraft/advancement/criterion/ChanneledLightningCriterion$Conditions
-
Field Summary
Fields Modifier and Type Field Description private EntityPredicate.Extended[]
victims
-
Constructor Summary
Constructors Constructor Description Conditions(EntityPredicate.Extended player, EntityPredicate.Extended[] victims)
-
Method Summary
Modifier and Type Method Description static ChanneledLightningCriterion.Conditions
create(EntityPredicate[] victims)
boolean
matches(Collection<? extends LootContext> victims)
JsonObject
toJson(AdvancementEntityPredicateSerializer predicateSerializer)
Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getId, getPlayerPredicate, toString
-
Field Details
-
victims
- Mappings:
Namespace Name Mixin selector official a
Lar$a;a:[Lbg$b;
intermediary field_9503
Lnet/minecraft/class_2002$class_2004;field_9503:[Lnet/minecraft/class_2048$class_5258;
named victims
Lnet/minecraft/advancement/criterion/ChanneledLightningCriterion$Conditions;victims:[Lnet/minecraft/predicate/entity/EntityPredicate$Extended;
-
-
Constructor Details
-
Conditions
- Mappings:
Namespace Name Mixin selector official <init>
Lar$a;<init>(Lbg$b;[Lbg$b;)V
intermediary <init>
Lnet/minecraft/class_2002$class_2004;<init>(Lnet/minecraft/class_2048$class_5258;[Lnet/minecraft/class_2048$class_5258;)V
named <init>
Lnet/minecraft/advancement/criterion/ChanneledLightningCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/EntityPredicate$Extended;[Lnet/minecraft/predicate/entity/EntityPredicate$Extended;)V
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official a
Lar$a;a([Lbg;)Lar$a;
intermediary method_8809
Lnet/minecraft/class_2002$class_2004;method_8809([Lnet/minecraft/class_2048;)Lnet/minecraft/class_2002$class_2004;
named create
Lnet/minecraft/advancement/criterion/ChanneledLightningCriterion$Conditions;create([Lnet/minecraft/predicate/entity/EntityPredicate;)Lnet/minecraft/advancement/criterion/ChanneledLightningCriterion$Conditions;
-
matches
- Mappings:
Namespace Name Mixin selector official a
Lar$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
- Specified by:
toJson
in interfaceCriterionConditions
- Overrides:
toJson
in classAbstractCriterionConditions
- Mappings:
Namespace Name Mixin selector official a
Lag;a(Lci;)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;
-