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 named net/minecraft/advancement/criterion/PlayerHurtEntityCriterion
intermediary net/minecraft/class_2115
official dp
-
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
<PlayerHurtEntityCriterion.Conditions> void
trigger
(ServerPlayerEntity player, Entity entity, DamageSource damage, float dealt, float taken, boolean blocked) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterion
beginTrackingCondition, endTracking, endTrackingCondition, trigger
-
Constructor Details
-
PlayerHurtEntityCriterion
public PlayerHurtEntityCriterion()
-
-
Method Details
-
getConditionsCodec
- Mappings:
Namespace Name Mixin selector named getConditionsCodec
Lnet/minecraft/advancement/criterion/Criterion;getConditionsCodec()Lcom/mojang/serialization/Codec;
intermediary method_54937
Lnet/minecraft/class_179;method_54937()Lcom/mojang/serialization/Codec;
official a
Lar;a()Lcom/mojang/serialization/Codec;
-
trigger
public void trigger(ServerPlayerEntity player, Entity entity, DamageSource damage, float dealt, float taken, boolean blocked) - Mappings:
Namespace Name Mixin selector named trigger
Lnet/minecraft/advancement/criterion/PlayerHurtEntityCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;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
official a
Ldp;a(Lasi;Lbvj;Lbtz;FFZ)V
-