Class KilledByCrossbowCriterion
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterion<KilledByCrossbowCriterion.Conditions>
net.minecraft.advancement.criterion.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
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.advancement.criterion.Criterion
Criterion.ConditionsContainer<T extends CriterionConditions>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconditionsFromJson
(JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) void
trigger
(ServerPlayerEntity player, Collection<Entity> piercingKilledEntities) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterion
beginTrackingCondition, conditionsFromJson, endTracking, endTrackingCondition, trigger
-
Constructor Details
-
KilledByCrossbowCriterion
public KilledByCrossbowCriterion()
-
-
Method Details
-
conditionsFromJson
public KilledByCrossbowCriterion.Conditions conditionsFromJson(JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) - Specified by:
conditionsFromJson
in classAbstractCriterion<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
- 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
-