Class OnKilledCriterion
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterion<OnKilledCriterion.Conditions>
net.minecraft.advancement.criterion.OnKilledCriterion
- All Implemented Interfaces:
Criterion<OnKilledCriterion.Conditions>
- Mappings:
Namespace Name official ce
intermediary net/minecraft/class_2080
named net/minecraft/advancement/criterion/OnKilledCriterion
-
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
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) void
trigger
(ServerPlayerEntity player, Entity entity, DamageSource killingDamage) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterion
beginTrackingCondition, conditionsFromJson, endTracking, endTrackingCondition, trigger
-
Constructor Details
-
OnKilledCriterion
public OnKilledCriterion()
-
-
Method Details
-
conditionsFromJson
public OnKilledCriterion.Conditions conditionsFromJson(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) - Specified by:
conditionsFromJson
in classAbstractCriterion<OnKilledCriterion.Conditions>
- Mappings:
Namespace Name Mixin selector official a
Lce;a(Lcom/google/gson/JsonObject;Ljava/util/Optional;Lbg;)Lce$a;
intermediary method_8989
Lnet/minecraft/class_2080;method_8989(Lcom/google/gson/JsonObject;Ljava/util/Optional;Lnet/minecraft/class_5257;)Lnet/minecraft/class_2080$class_2083;
named conditionsFromJson
Lnet/minecraft/advancement/criterion/OnKilledCriterion;conditionsFromJson(Lcom/google/gson/JsonObject;Ljava/util/Optional;Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;)Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;
-
trigger
- Mappings:
Namespace Name Mixin selector official a
Lce;a(Lakr;Lbiq;Lbho;)V
intermediary method_8990
Lnet/minecraft/class_2080;method_8990(Lnet/minecraft/class_3222;Lnet/minecraft/class_1297;Lnet/minecraft/class_1282;)V
named trigger
Lnet/minecraft/advancement/criterion/OnKilledCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;)V
-