Class EntityHurtPlayerCriterion

All Implemented Interfaces:
Criterion<EntityHurtPlayerCriterion.Conditions>

public class EntityHurtPlayerCriterion extends AbstractCriterion<EntityHurtPlayerCriterion.Conditions>
Mappings:
Namespace Name
named net/minecraft/advancement/criterion/EntityHurtPlayerCriterion
intermediary net/minecraft/class_2044
official bv
  • Constructor Details

    • EntityHurtPlayerCriterion

      public EntityHurtPlayerCriterion()
  • Method Details

    • getConditionsCodec

      public com.mojang.serialization.Codec<EntityHurtPlayerCriterion.Conditions> 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, DamageSource source, float dealt, float taken, boolean blocked)
      Mappings:
      Namespace Name Mixin selector
      named trigger Lnet/minecraft/advancement/criterion/EntityHurtPlayerCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/entity/damage/DamageSource;FFZ)V
      intermediary method_22467 Lnet/minecraft/class_2044;method_22467(Lnet/minecraft/class_3222;Lnet/minecraft/class_1282;FFZ)V
      official a Lbv;a(Lasi;Lbtz;FFZ)V