Files
Paper/paper-api/src/org/bukkit/EntityHuman.java
2010-12-29 22:11:33 +00:00

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();
}