Package | Description |
---|---|
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
org.bukkit.event.entity | |
org.bukkit.event.inventory | |
org.bukkit.inventory |
Classes involved in manipulating player inventories and item interactions.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Player
Represents a player, connected or not
|
Modifier and Type | Method and Description |
---|---|
HumanEntity |
FoodLevelChangeEvent.getEntity() |
Constructor and Description |
---|
FoodLevelChangeEvent(HumanEntity what,
int level) |
Modifier and Type | Method and Description |
---|---|
HumanEntity |
InventoryCloseEvent.getPlayer()
Returns the player involved in this event
|
HumanEntity |
InventoryOpenEvent.getPlayer()
Returns the player involved in this event
|
HumanEntity |
InventoryInteractEvent.getWhoClicked()
Gets the player who performed the click.
|
Modifier and Type | Method and Description |
---|---|
List<HumanEntity> |
InventoryEvent.getViewers()
Gets the list of players viewing the primary (upper) inventory involved
in this event
|
Modifier and Type | Method and Description |
---|---|
HumanEntity |
PlayerInventory.getHolder() |
abstract HumanEntity |
InventoryView.getPlayer()
Get the player viewing.
|
Modifier and Type | Method and Description |
---|---|
List<HumanEntity> |
Inventory.getViewers()
Gets a list of players viewing the inventory.
|
Copyright © 2014. All rights reserved.