Moving Fake Player
A special FakePlayer that moves following a recorded path of PosPoseSnapshot.
Constructors
Properties
Replacement of 1.21.4 MiningToolItem
Functions
Mirrors the blocking-angle and bypass checks from net.minecraft.world.entity.LivingEntity#applyItemBlocking.
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.
Mirrors the vanilla entity damage formula for explosions.
Mirrors the vanilla damage-reduction pipeline after the base amount is known.
Mirrors the vanilla blast-power setup of explosive entities.
Basically ServerExplosion.getSeenPercent but this method allows us to exclude blocks using exclude.
Allows you to check if a point is behind a wall
Loads the attributes from the player into the fake player.
Check if the entity is likely falling to the void based on the given position and bounding box.