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 ax$a
intermediary net/minecraft/class_2002$class_2004
named net/minecraft/advancement/criterion/ChanneledLightningCriterion$Conditions
  • Field Details

    • victims

      private final EntityPredicate.Extended[] victims
      Mappings:
      Namespace Name Mixin selector
      official a Lax$a;a:[Lbm$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

      public Conditions(EntityPredicate.Extended player, EntityPredicate.Extended[] victims)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lax$a;<init>(Lbm$b;[Lbm$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

      public static ChanneledLightningCriterion.Conditions create(EntityPredicate[] victims)
      Mappings:
      Namespace Name Mixin selector
      official a Lax$a;a([Lbm;)Lax$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

      public boolean matches(Collection<? extends LootContext> victims)
      Mappings:
      Namespace Name Mixin selector
      official a Lax$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 JsonObject toJson(AdvancementEntityPredicateSerializer predicateSerializer)
      Specified by:
      toJson in interface CriterionConditions
      Overrides:
      toJson in class AbstractCriterionConditions
      Mappings:
      Namespace Name Mixin selector
      official a Lam;a(Lcq;)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;