Class KilledByArrowCriterion

All Implemented Interfaces:
Criterion<KilledByArrowCriterion.Conditions>

public class KilledByArrowCriterion extends AbstractCriterion<KilledByArrowCriterion.Conditions>
Mappings:
Namespace Name
named net/minecraft/advancement/criterion/KilledByArrowCriterion
intermediary net/minecraft/class_2076
official db
  • Constructor Details

    • KilledByArrowCriterion

      public KilledByArrowCriterion()
  • Method Details

    • getConditionsCodec

      public com.mojang.serialization.Codec<KilledByArrowCriterion.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<Entity> piercingKilledEntities, @Nullable @Nullable ItemStack weapon)
      Mappings:
      Namespace Name Mixin selector
      named trigger Lnet/minecraft/advancement/criterion/KilledByArrowCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Ljava/util/Collection;Lnet/minecraft/item/ItemStack;)V
      intermediary method_8980 Lnet/minecraft/class_2076;method_8980(Lnet/minecraft/class_3222;Ljava/util/Collection;Lnet/minecraft/class_1799;)V
      official a Ldb;a(Lasi;Ljava/util/Collection;Lcxo;)V