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
  • Constructor Details

    • ChanneledLightningCriterion

      public ChanneledLightningCriterion()
  • Method Details

    • getConditionsCodec

      public com.mojang.serialization.Codec<ChanneledLightningCriterion.Conditions> getConditionsCodec()
      Mappings:
      Namespace Name Mixin selector
      official a Lap;a()Lcom/mojang/serialization/Codec;
      intermediary method_54937 Lnet/minecraft/class_179;method_54937()Lcom/mojang/serialization/Codec;
      named getConditionsCodec Lnet/minecraft/advancement/criterion/Criterion;getConditionsCodec()Lcom/mojang/serialization/Codec;
    • trigger

      public void trigger(ServerPlayerEntity player, Collection<? extends Entity> victims)
      Mappings:
      Namespace Name Mixin selector
      official a Lay;a(Lane;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