Class LightningStrikeCriterion

All Implemented Interfaces:
Criterion<LightningStrikeCriterion.Conditions>

public class LightningStrikeCriterion extends AbstractCriterion<LightningStrikeCriterion.Conditions>
Mappings:
Namespace Name
official ch
intermediary net/minecraft/class_6405
named net/minecraft/advancement/criterion/LightningStrikeCriterion
  • Constructor Details

    • LightningStrikeCriterion

      public LightningStrikeCriterion()
  • Method Details

    • getConditionsCodec

      public com.mojang.serialization.Codec<LightningStrikeCriterion.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, LightningEntity lightning, List<Entity> bystanders)
      Mappings:
      Namespace Name Mixin selector
      official a Lch;a(Lane;Lbmk;Ljava/util/List;)V
      intermediary method_37240 Lnet/minecraft/class_6405;method_37240(Lnet/minecraft/class_3222;Lnet/minecraft/class_1538;Ljava/util/List;)V
      named trigger Lnet/minecraft/advancement/criterion/LightningStrikeCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/entity/LightningEntity;Ljava/util/List;)V