Class ChanneledLightningCriterion

All Implemented Interfaces:
Criterion<ChanneledLightningCriterion.Conditions>

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

    • ChanneledLightningCriterion

      public ChanneledLightningCriterion()
  • Method Details

    • conditionsFromJson

      public ChanneledLightningCriterion.Conditions conditionsFromJson(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)
      Specified by:
      conditionsFromJson in class AbstractCriterion<ChanneledLightningCriterion.Conditions>
      Mappings:
      Namespace Name Mixin selector
      official a Laz;a(Lcom/google/gson/JsonObject;Ljava/util/Optional;Lbg;)Laz$a;
      intermediary method_8801 Lnet/minecraft/class_2002;method_8801(Lcom/google/gson/JsonObject;Ljava/util/Optional;Lnet/minecraft/class_5257;)Lnet/minecraft/class_2002$class_2004;
      named conditionsFromJson Lnet/minecraft/advancement/criterion/ChanneledLightningCriterion;conditionsFromJson(Lcom/google/gson/JsonObject;Ljava/util/Optional;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 Laz;a(Lakr;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