Class ChanneledLightningCriterion

All Implemented Interfaces:
Criterion<ChanneledLightningCriterion.Conditions>

public class ChanneledLightningCriterion extends AbstractCriterion<ChanneledLightningCriterion.Conditions>
Mappings:
Namespace Name
official ay
intermediary net/minecraft/class_2002
named net/minecraft/advancement/criterion/ChanneledLightningCriterion
  • Field Details

    • ID

      static final Identifier ID
      Mappings:
      Namespace Name Mixin selector
      official a Lay;a:Labb;
      intermediary field_9499 Lnet/minecraft/class_2002;field_9499:Lnet/minecraft/class_2960;
      named ID Lnet/minecraft/advancement/criterion/ChanneledLightningCriterion;ID:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • ChanneledLightningCriterion

      public ChanneledLightningCriterion()
  • Method Details

    • getId

      public Identifier getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lam;a()Labb;
      intermediary method_794 Lnet/minecraft/class_179;method_794()Lnet/minecraft/class_2960;
      named getId Lnet/minecraft/advancement/criterion/Criterion;getId()Lnet/minecraft/util/Identifier;
    • conditionsFromJson

      public ChanneledLightningCriterion.Conditions conditionsFromJson(JsonObject jsonObject, EntityPredicate.Extended extended, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)
      Specified by:
      conditionsFromJson in class AbstractCriterion<ChanneledLightningCriterion.Conditions>
      Mappings:
      Namespace Name Mixin selector
      official a Lay;a(Lcom/google/gson/JsonObject;Lbo$b;Lbe;)Lay$a;
      intermediary method_8801 Lnet/minecraft/class_2002;method_8801(Lcom/google/gson/JsonObject;Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_5257;)Lnet/minecraft/class_2002$class_2004;
      named conditionsFromJson Lnet/minecraft/advancement/criterion/ChanneledLightningCriterion;conditionsFromJson(Lcom/google/gson/JsonObject;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;)Lnet/minecraft/advancement/criterion/ChanneledLightningCriterion$Conditions;
    • trigger

      public void trigger(ServerPlayerEntity player, Collection<? extends Entity> victims)
      Mappings:
      Namespace Name Mixin selector
      official a Lay;a(Lagh;Ljava/util/Collection;)V
      intermediary method_8803 Lnet/minecraft/class_2002;method_8803(Lnet/minecraft/class_3222;Ljava/util/Collection;)V
      named trigger Lnet/minecraft/advancement/criterion/ChanneledLightningCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Ljava/util/Collection;)V