16 lines
362 B
Java
16 lines
362 B
Java
|
|
package org.bukkit;
|
|
|
|
/**
|
|
* Represents a human entity, such as an NPC or a player
|
|
*/
|
|
public interface EntityHuman {
|
|
/**
|
|
* Gets the item this entity has currently selected, which will be shown in
|
|
* their hand
|
|
*
|
|
* @return ItemStack containing details on the item this entity has selected
|
|
*/
|
|
public ItemStack getSelectedItem();
|
|
}
|