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 bz
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>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconditionsFromJson(JsonObject jsonObject, EntityPredicate.Extended extended, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)
getId()
void
trigger(ServerPlayerEntity player, Entity entity, DamageSource killingDamage)
Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterion
beginTrackingCondition, conditionsFromJson, endTracking, endTrackingCondition, test
-
Field Details
-
id
- Mappings:
Namespace Name Mixin selector official a
Lbz;a:Lww;
intermediary field_9661
Lnet/minecraft/class_2080;field_9661:Lnet/minecraft/class_2960;
named id
Lnet/minecraft/advancement/criterion/OnKilledCriterion;id:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
OnKilledCriterion
- Mappings:
Namespace Name Mixin selector official <init>
Lbz;<init>(Lww;)V
intermediary <init>
Lnet/minecraft/class_2080;<init>(Lnet/minecraft/class_2960;)V
named <init>
Lnet/minecraft/advancement/criterion/OnKilledCriterion;<init>(Lnet/minecraft/util/Identifier;)V
-
-
Method Details
-
getId
- Mappings:
Namespace Name Mixin selector official a
Lal;a()Lww;
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 OnKilledCriterion.Conditions conditionsFromJson(JsonObject jsonObject, EntityPredicate.Extended extended, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)- Specified by:
conditionsFromJson
in classAbstractCriterion<OnKilledCriterion.Conditions>
- Mappings:
Namespace Name Mixin selector official a
Lbz;a(Lcom/google/gson/JsonObject;Lbm$b;Lbd;)Lbz$a;
intermediary method_8989
Lnet/minecraft/class_2080;method_8989(Lcom/google/gson/JsonObject;Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_5257;)Lnet/minecraft/class_2080$class_2083;
named conditionsFromJson
Lnet/minecraft/advancement/criterion/OnKilledCriterion;conditionsFromJson(Lcom/google/gson/JsonObject;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;)Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;
-
trigger
- Mappings:
Namespace Name Mixin selector official a
Lbz;a(Labs;Latf;Lasp;)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
-