mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-21 05:44:17 +00:00
Add getWidth + getHeight for Entity
This commit is contained in:
parent
75136977af
commit
baf4ff4d97
1 changed files with 14 additions and 0 deletions
|
@ -52,6 +52,20 @@ public interface Entity extends Metadatable, CommandSender, Nameable {
|
||||||
*/
|
*/
|
||||||
public Vector getVelocity();
|
public Vector getVelocity();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the entity's height
|
||||||
|
*
|
||||||
|
* @return height of entity
|
||||||
|
*/
|
||||||
|
public double getHeight();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the entity's width
|
||||||
|
*
|
||||||
|
* @return width of entity
|
||||||
|
*/
|
||||||
|
public double getWidth();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns true if the entity is supported by a block. This value is a
|
* Returns true if the entity is supported by a block. This value is a
|
||||||
* state updated by the server and is not recalculated unless the entity
|
* state updated by the server and is not recalculated unless the entity
|
||||||
|
|
Loading…
Add table
Reference in a new issue