Class ChanneledLightningCriterion

All Implemented Interfaces:
Criterion<ChanneledLightningCriterion.Conditions>

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

    • ChanneledLightningCriterion

      public ChanneledLightningCriterion()
  • Method Details

    • getConditionsCodec

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

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