mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 04:05:50 -07:00
@@ -189,12 +189,20 @@ public interface HumanEntity extends LivingEntity, AnimalTamer, Permissible, Inv
|
||||
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.
|
||||
*/
|
||||
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
|
||||
*
|
||||
|
Reference in New Issue
Block a user