Class KilledByCrossbowCriterion

All Implemented Interfaces:
Criterion<KilledByCrossbowCriterion.Conditions>

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

    • ID

      static final Identifier ID
      Mappings:
      Namespace Name Mixin selector
      official a Lcb;a:Labb;
      intermediary field_9655 Lnet/minecraft/class_2076;field_9655:Lnet/minecraft/class_2960;
      named ID Lnet/minecraft/advancement/criterion/KilledByCrossbowCriterion;ID:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • KilledByCrossbowCriterion

      public KilledByCrossbowCriterion()
  • Method Details

    • getId

      public Identifier getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lam;a()Labb;
      intermediary method_794 Lnet/minecraft/class_179;method_794()Lnet/minecraft/class_2960;
      named getId Lnet/minecraft/advancement/criterion/Criterion;getId()Lnet/minecraft/util/Identifier;
    • conditionsFromJson

      public KilledByCrossbowCriterion.Conditions conditionsFromJson(JsonObject jsonObject, EntityPredicate.Extended extended, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)
      Specified by:
      conditionsFromJson in class AbstractCriterion<KilledByCrossbowCriterion.Conditions>
      Mappings:
      Namespace Name Mixin selector
      official a Lcb;a(Lcom/google/gson/JsonObject;Lbo$b;Lbe;)Lcb$a;
      intermediary method_8979 Lnet/minecraft/class_2076;method_8979(Lcom/google/gson/JsonObject;Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_5257;)Lnet/minecraft/class_2076$class_2078;
      named conditionsFromJson Lnet/minecraft/advancement/criterion/KilledByCrossbowCriterion;conditionsFromJson(Lcom/google/gson/JsonObject;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;)Lnet/minecraft/advancement/criterion/KilledByCrossbowCriterion$Conditions;
    • trigger

      public void trigger(ServerPlayerEntity player, Collection<Entity> piercingKilledEntities)
      Mappings:
      Namespace Name Mixin selector
      official a Lcb;a(Lagh;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