Class EntityHurtPlayerCriterion
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterion<EntityHurtPlayerCriterion.Conditions>
net.minecraft.advancement.criterion.EntityHurtPlayerCriterion
- All Implemented Interfaces:
Criterion<EntityHurtPlayerCriterion.Conditions>
public class EntityHurtPlayerCriterion extends AbstractCriterion<EntityHurtPlayerCriterion.Conditions>
- Mappings:
Namespace Name official bf
intermediary net/minecraft/class_2044
named net/minecraft/advancement/criterion/EntityHurtPlayerCriterion
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EntityHurtPlayerCriterion.Conditions
Nested classes/interfaces inherited from interface net.minecraft.advancement.criterion.Criterion
Criterion.ConditionsContainer<T extends CriterionConditions>
-
Field Summary
Fields Modifier and Type Field Description private static Identifier
ID
-
Constructor Summary
Constructors Constructor Description EntityHurtPlayerCriterion()
-
Method Summary
Modifier and Type Method Description EntityHurtPlayerCriterion.Conditions
conditionsFromJson(JsonObject jsonObject, EntityPredicate.Extended extended, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)
Identifier
getId()
void
trigger(ServerPlayerEntity player, DamageSource source, float dealt, float taken, boolean blocked)
Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterion
beginTrackingCondition, conditionsFromJson, endTracking, endTrackingCondition, test
-
Field Details
-
ID
- Mappings:
Namespace Name Mixin selector official a
Lbf;a:Lwb;
intermediary field_9589
Lnet/minecraft/class_2044;field_9589:Lnet/minecraft/class_2960;
named ID
Lnet/minecraft/advancement/criterion/EntityHurtPlayerCriterion;ID:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
EntityHurtPlayerCriterion
public EntityHurtPlayerCriterion()
-
-
Method Details
-
getId
- Mappings:
Namespace Name Mixin selector official a
Laf;a()Lwb;
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 EntityHurtPlayerCriterion.Conditions conditionsFromJson(JsonObject jsonObject, EntityPredicate.Extended extended, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)- Specified by:
conditionsFromJson
in classAbstractCriterion<EntityHurtPlayerCriterion.Conditions>
- Mappings:
Namespace Name Mixin selector official a
Lbf;a(Lcom/google/gson/JsonObject;Lbg$b;Lax;)Lbf$a;
intermediary method_8902
Lnet/minecraft/class_2044;method_8902(Lcom/google/gson/JsonObject;Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_5257;)Lnet/minecraft/class_2044$class_2046;
named conditionsFromJson
Lnet/minecraft/advancement/criterion/EntityHurtPlayerCriterion;conditionsFromJson(Lcom/google/gson/JsonObject;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;)Lnet/minecraft/advancement/criterion/EntityHurtPlayerCriterion$Conditions;
-
trigger
public void trigger(ServerPlayerEntity player, DamageSource source, float dealt, float taken, boolean blocked)- Mappings:
Namespace Name Mixin selector official a
Lbf;a(Laaw;Laqf;FFZ)V
intermediary method_22467
Lnet/minecraft/class_2044;method_22467(Lnet/minecraft/class_3222;Lnet/minecraft/class_1282;FFZ)V
named trigger
Lnet/minecraft/advancement/criterion/EntityHurtPlayerCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/entity/damage/DamageSource;FFZ)V
-