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

public static class ChanneledLightningCriterion.Conditions extends AbstractCriterionConditions
Mappings:
Namespace Name
official az$a
intermediary net/minecraft/class_2002$class_2004
named net/minecraft/advancement/criterion/ChanneledLightningCriterion$Conditions
  • Field Details

    • victims

      private final List<LootContextPredicate> 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

      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

      public boolean matches(Collection<? extends LootContext> victims)
      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 interface CriterionConditions
      Overrides:
      toJson in class AbstractCriterionConditions
      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;