Class LightningStrikeCriterion

All Implemented Interfaces:
Criterion<LightningStrikeCriterion.Conditions>

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

    • LightningStrikeCriterion

      public LightningStrikeCriterion()
  • Method Details

    • getConditionsCodec

      public com.mojang.serialization.Codec<LightningStrikeCriterion.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 Laq;a()Lcom/mojang/serialization/Codec;
    • trigger

      public void trigger(ServerPlayerEntity player, LightningEntity lightning, List<Entity> bystanders)
      Mappings:
      Namespace Name Mixin selector
      named trigger Lnet/minecraft/advancement/criterion/LightningStrikeCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/entity/LightningEntity;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
      official a Lde;a(Laqv;Lbtm;Ljava/util/List;)V