Add API to retrieve a players EnderChest. Adds BUKKIT-2016

This commit is contained in:
feildmaster
2012-08-20 15:51:04 -05:00
parent bb1f1904e9
commit 4d2dbee97f

View File

@@ -28,6 +28,13 @@ public interface HumanEntity extends LivingEntity, AnimalTamer, Permissible, Inv
*/ */
public PlayerInventory getInventory(); public PlayerInventory getInventory();
/**
* Get the player's EnderChest inventory
*
* @return The EnderChest of the player
*/
public Inventory getEnderChest();
/** /**
* If the player currently has an inventory window open, this method will set a * If the player currently has an inventory window open, this method will set a
* property of that window, such as the state of a progress bar. * property of that window, such as the state of a progress bar.