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 bo
intermediary net/minecraft/class_2044
named net/minecraft/advancement/criterion/EntityHurtPlayerCriterion
-
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 TypeMethodDescriptioncom.mojang.serialization.Codec<EntityHurtPlayerCriterion.Conditions>
void
trigger
(ServerPlayerEntity player, DamageSource source, float dealt, float taken, boolean blocked) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterion
beginTrackingCondition, endTracking, endTrackingCondition, trigger
-
Constructor Details
-
EntityHurtPlayerCriterion
public EntityHurtPlayerCriterion()
-
-
Method Details
-
getConditionsCodec
- Mappings:
Namespace Name Mixin selector official a
Lap;a()Lcom/mojang/serialization/Codec;
intermediary method_54937
Lnet/minecraft/class_179;method_54937()Lcom/mojang/serialization/Codec;
named getConditionsCodec
Lnet/minecraft/advancement/criterion/Criterion;getConditionsCodec()Lcom/mojang/serialization/Codec;
-
trigger
public void trigger(ServerPlayerEntity player, DamageSource source, float dealt, float taken, boolean blocked) - Mappings:
Namespace Name Mixin selector official a
Lbo;a(Lane;Lbkt;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
-