Class KilledByCrossbowCriterion

All Implemented Interfaces:
Criterion<KilledByCrossbowCriterion.Conditions>

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

    • KilledByCrossbowCriterion

      public KilledByCrossbowCriterion()
  • Method Details

    • getConditionsCodec

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