Class KilledByCrossbowCriterion

All Implemented Interfaces:
Criterion<KilledByCrossbowCriterion.Conditions>

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

    • KilledByCrossbowCriterion

      public KilledByCrossbowCriterion()
  • Method Details

    • getConditionsCodec

      public com.mojang.serialization.Codec<KilledByCrossbowCriterion.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, Collection<Entity> piercingKilledEntities)
      Mappings:
      Namespace Name Mixin selector
      official a Lcc;a(Lane;Ljava/util/Collection;)V
      intermediary method_8980 Lnet/minecraft/class_2076;method_8980(Lnet/minecraft/class_3222;Ljava/util/Collection;)V
      named trigger Lnet/minecraft/advancement/criterion/KilledByCrossbowCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Ljava/util/Collection;)V