Mixin Abstract Client Player
Properties
Functions
Allows to calculate the distance between the current entity and entity from the nearest corner of the bounding box
Check if the entity box collides with any block in the world at the given pos.
Check if the entity collides with anything below his bounding box.
Sometimes the server does not publish the actual entity health with its metadata. This function incorporates other sources to get the actual value.
See ExplosionDamageCalculator.getEntityDamageAmount.
Applies armor, enchantments, effects, etc. to the damage and returns the damage that is actually applied. This function is so damn ugly that I turned off code smell analysis for it.
Basically ServerExplosion.getSeenPercent but this method allows us to exclude blocks using exclude.
Allows you to check if a point is behind a wall
Check if the entity is likely falling to the void based on the given position and bounding box.