@@ -1,4 +1,3 @@
|
||||
|
||||
package org.bukkit.entity;
|
||||
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
@@ -8,6 +7,7 @@ import org.bukkit.inventory.PlayerInventory;
|
||||
* Represents a human entity, such as an NPC or a player
|
||||
*/
|
||||
public interface HumanEntity extends LivingEntity, AnimalTamer {
|
||||
|
||||
/**
|
||||
* Returns the name of this player
|
||||
*
|
||||
@@ -43,19 +43,19 @@ public interface HumanEntity extends LivingEntity, AnimalTamer {
|
||||
*
|
||||
* @param index The new index to use, only valid ones are 0-8.
|
||||
*
|
||||
public void selectItemInHand( int index );
|
||||
*/
|
||||
|
||||
public void selectItemInHand(int index);
|
||||
*/
|
||||
|
||||
/**
|
||||
* Returns whether this player is slumbering.
|
||||
*
|
||||
*
|
||||
* @return slumber state
|
||||
*/
|
||||
public boolean isSleeping();
|
||||
|
||||
|
||||
/**
|
||||
* Get the sleep ticks of the player. This value may be capped.
|
||||
*
|
||||
*
|
||||
* @return slumber ticks
|
||||
*/
|
||||
public int getSleepTicks();
|
||||
|
||||
Reference in New Issue
Block a user