Class KilledByCrossbowCriterion

All Implemented Interfaces:
Criterion<KilledByCrossbowCriterion.Conditions>

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

    • KilledByCrossbowCriterion

      public KilledByCrossbowCriterion()
  • Method Details

    • conditionsFromJson

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