Class ChanneledLightningCriterion

All Implemented Interfaces:
Criterion<ChanneledLightningCriterion.Conditions>

public class ChanneledLightningCriterion extends AbstractCriterion<ChanneledLightningCriterion.Conditions>
Mappings:
Namespace Name
official ax
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 Lax;a:Lacq;
      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 Lal;a()Lacq;
      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, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)
      Specified by:
      conditionsFromJson in class AbstractCriterion<ChanneledLightningCriterion.Conditions>
      Mappings:
      Namespace Name Mixin selector
      official a Lax;a(Lcom/google/gson/JsonObject;Lba;Lbe;)Lax$a;
      intermediary method_8801 Lnet/minecraft/class_2002;method_8801(Lcom/google/gson/JsonObject;Lnet/minecraft/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/LootContextPredicate;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 Lax;a(Laig;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