Interface IPlayerEntity

All Known Implementing Classes:
PlayerEntityMixin

public interface IPlayerEntity
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    Returns if the provided DamageSource corresponds to a "critical hit" from this PlayerEntity.
  • Method Details

    • sevenelements$isCrit

      default boolean sevenelements$isCrit(DamageSource source)
      Returns if the provided DamageSource corresponds to a "critical hit" from this PlayerEntity.
      Parameters:
      source - The DamageSource to test.