Files
Paper/paper-api/src/org/bukkit/HumanEntity.java
2010-12-30 03:50:08 +00:00

16 lines
383 B
Java

package org.bukkit;
/**
* Represents a human entity, such as an NPC or a player
*/
public interface HumanEntity extends LivingEntity {
/**
* 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();
}