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 cc
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, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) getId()
void
trigger
(ServerPlayerEntity player, Entity entity, DamageSource killingDamage) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterion
beginTrackingCondition, conditionsFromJson, endTracking, endTrackingCondition, trigger
-
Field Details
-
id
- Mappings:
Namespace Name Mixin selector official a
Lcc;a:Lacq;
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>
Lcc;<init>(Lacq;)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()Lacq;
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, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) - Specified by:
conditionsFromJson
in classAbstractCriterion<OnKilledCriterion.Conditions>
- Mappings:
Namespace Name Mixin selector official a
Lcc;a(Lcom/google/gson/JsonObject;Lba;Lbe;)Lcc$a;
intermediary method_8989
Lnet/minecraft/class_2080;method_8989(Lcom/google/gson/JsonObject;Lnet/minecraft/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/LootContextPredicate;Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;)Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;
-
trigger
- Mappings:
Namespace Name Mixin selector official a
Lcc;a(Laig;Lbfj;Lben;)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
-