mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-21 05:44:17 +00:00
SPIGOT-2656: HumanEntity#isHandRaised()Z
This commit is contained in:
parent
a25e56c4b6
commit
9fdd2ce60d
1 changed files with 9 additions and 1 deletions
|
@ -189,12 +189,20 @@ public interface HumanEntity extends LivingEntity, AnimalTamer, Permissible, Inv
|
||||||
public void setGameMode(GameMode mode);
|
public void setGameMode(GameMode mode);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if the player is currently blocking (ie with a sword).
|
* Check if the player is currently blocking (ie with a shield).
|
||||||
*
|
*
|
||||||
* @return Whether they are blocking.
|
* @return Whether they are blocking.
|
||||||
*/
|
*/
|
||||||
public boolean isBlocking();
|
public boolean isBlocking();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if the player currently has their hand raised (ie about to begin
|
||||||
|
* blocking).
|
||||||
|
*
|
||||||
|
* @return Whether their hand is raised
|
||||||
|
*/
|
||||||
|
public boolean isHandRaised();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the total amount of experience required for the player to level
|
* Get the total amount of experience required for the player to level
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Reference in a new issue