From b8d2882de6dc15fe1772c94f6b491b6092d954cd Mon Sep 17 00:00:00 2001 From: feildmaster Date: Mon, 20 Aug 2012 15:51:04 -0500 Subject: Add API to retrieve a players EnderChest. Adds BUKKIT-2016 --- src/main/java/org/bukkit/entity/HumanEntity.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/main') diff --git a/src/main/java/org/bukkit/entity/HumanEntity.java b/src/main/java/org/bukkit/entity/HumanEntity.java index e1f9f5a3..ffb5bcea 100644 --- a/src/main/java/org/bukkit/entity/HumanEntity.java +++ b/src/main/java/org/bukkit/entity/HumanEntity.java @@ -28,6 +28,13 @@ public interface HumanEntity extends LivingEntity, AnimalTamer, Permissible, Inv */ 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 * property of that window, such as the state of a progress bar. -- cgit v1.2.3