Class PlayerHurtEntityCriterion
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterion<PlayerHurtEntityCriterion.Conditions>
net.minecraft.advancement.criterion.PlayerHurtEntityCriterion
- All Implemented Interfaces:
Criterion<PlayerHurtEntityCriterion.Conditions>
public class PlayerHurtEntityCriterion
extends AbstractCriterion<PlayerHurtEntityCriterion.Conditions>
- Mappings:
Namespace Name official cn
intermediary net/minecraft/class_2115
named net/minecraft/advancement/criterion/PlayerHurtEntityCriterion
-
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 damage, float dealt, float taken, boolean blocked) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterion
beginTrackingCondition, conditionsFromJson, endTracking, endTrackingCondition, trigger
-
Field Details
-
ID
- Mappings:
Namespace Name Mixin selector official a
Lcn;a:Ladd;
intermediary field_9732
Lnet/minecraft/class_2115;field_9732:Lnet/minecraft/class_2960;
named ID
Lnet/minecraft/advancement/criterion/PlayerHurtEntityCriterion;ID:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
PlayerHurtEntityCriterion
public PlayerHurtEntityCriterion()
-
-
Method Details
-
getId
- Mappings:
Namespace Name Mixin selector official a
Lal;a()Ladd;
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 PlayerHurtEntityCriterion.Conditions conditionsFromJson(JsonObject jsonObject, EntityPredicate.Extended extended, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) - Specified by:
conditionsFromJson
in classAbstractCriterion<PlayerHurtEntityCriterion.Conditions>
- Mappings:
Namespace Name Mixin selector official a
Lcn;a(Lcom/google/gson/JsonObject;Lbn$b;Lbd;)Lcn$a;
intermediary method_9098
Lnet/minecraft/class_2115;method_9098(Lcom/google/gson/JsonObject;Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_5257;)Lnet/minecraft/class_2115$class_2117;
named conditionsFromJson
Lnet/minecraft/advancement/criterion/PlayerHurtEntityCriterion;conditionsFromJson(Lcom/google/gson/JsonObject;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;)Lnet/minecraft/advancement/criterion/PlayerHurtEntityCriterion$Conditions;
-
trigger
public void trigger(ServerPlayerEntity player, Entity entity, DamageSource damage, float dealt, float taken, boolean blocked) - Mappings:
Namespace Name Mixin selector official a
Lcn;a(Laiq;Lbfh;Lbem;FFZ)V
intermediary method_9097
Lnet/minecraft/class_2115;method_9097(Lnet/minecraft/class_3222;Lnet/minecraft/class_1297;Lnet/minecraft/class_1282;FFZ)V
named trigger
Lnet/minecraft/advancement/criterion/PlayerHurtEntityCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;FFZ)V
-