SPIGOT-2656: HumanEntity#isHandRaised()Z

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2016-09-04 11:59:33 +10:00
parent aaf720af60
commit 8a52090a25

View file

@ -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
* *