Interface EntityHandler
public interface EntityHandler
-
Method Summary
Modifier and TypeMethodDescriptionvoid
broadcastDespawnPacket
(BaseEntity<?> entity, boolean excludeSelf) void
broadcastSpawnPacket
(BaseEntity<?> entity, boolean excludeSelf) createBoneRenderer
(ModelBone bone) createDummyRangeEntity
(BaseEntity<?> entity) createHandRenderer
(ModelBone bone) createLeashPoint
(ModelBone bone) createModelHitbox
(BaseEntity<?> entity) createMountPoint
(ModelBone bone) createNametagPoint
(ModelBone bone) createVFXRenderer
(VFX vfx) float
getXHeadRot
(org.bukkit.entity.Entity entity) float
getYBodyRot
(org.bukkit.entity.Entity entity) float
getYHeadRot
(org.bukkit.entity.Entity entity) void
hideBoundSubHitboxEntity
(ModeledEntity model, org.bukkit.entity.Entity entity) boolean
hurt
(org.bukkit.entity.Entity entity, IDamageSource damageSource, float damage) void
interact
(org.bukkit.entity.Entity entity, org.bukkit.entity.Player player, org.bukkit.inventory.EquipmentSlot hand) boolean
isMoving
(org.bukkit.entity.Entity entity) void
void
setSelfFakeInvisible
(org.bukkit.entity.Player player, boolean flag) void
setStepHeight
(org.bukkit.entity.Entity entity, double height) void
setYBodyRot
(org.bukkit.entity.Entity entity, float rot) void
setYHeadRot
(org.bukkit.entity.Entity entity, float rot) @Nullable BodyRotationController
wrapBodyRotationControl
(org.bukkit.entity.Entity entity) wrapLookControl
(org.bukkit.entity.Entity entity) wrapMoveControl
(org.bukkit.entity.Entity entity) void
wrapNavigation
(org.bukkit.entity.Entity entity) wrapRangeManager
(org.bukkit.entity.Entity entity)
-
Method Details
-
getDynamicHitbox
DynamicHitbox getDynamicHitbox() -
getEntityCounter
AtomicInteger getEntityCounter() -
setHitbox
-
setStepHeight
void setStepHeight(org.bukkit.entity.Entity entity, double height) -
wrapMoveControl
-
wrapLookControl
-
wrapBodyRotationControl
-
wrapRangeManager
-
hurt
-
interact
void interact(org.bukkit.entity.Entity entity, org.bukkit.entity.Player player, org.bukkit.inventory.EquipmentSlot hand) -
createBoneRenderer
-
createMountPoint
-
createNametagPoint
-
createLeashPoint
-
createSubHitboxEntity
-
createHandRenderer
-
createVFXRenderer
-
createDummyRangeEntity
-
createModelHitbox
-
broadcastSpawnPacket
-
broadcastDespawnPacket
-
hideBoundSubHitboxEntity
-
setSelfFakeInvisible
void setSelfFakeInvisible(org.bukkit.entity.Player player, boolean flag) -
setYHeadRot
void setYHeadRot(org.bukkit.entity.Entity entity, float rot) -
setYBodyRot
void setYBodyRot(org.bukkit.entity.Entity entity, float rot) -
getYHeadRot
float getYHeadRot(org.bukkit.entity.Entity entity) -
getXHeadRot
float getXHeadRot(org.bukkit.entity.Entity entity) -
getYBodyRot
float getYBodyRot(org.bukkit.entity.Entity entity) -
isMoving
boolean isMoving(org.bukkit.entity.Entity entity)
-