summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorfeildmaster <admin@feildmaster.com>2012-08-20 15:51:04 -0500
committerfeildmaster <admin@feildmaster.com>2012-08-20 16:01:35 -0500
commitb8d2882de6dc15fe1772c94f6b491b6092d954cd (patch)
tree18749e92c84289b67cf4aa23b2dac6d8594ce9a1 /src/main
parent6e8e4e2098d782b999e297b9cf359a2d5d7ae870 (diff)
downloadbukkit-b8d2882de6dc15fe1772c94f6b491b6092d954cd.tar
bukkit-b8d2882de6dc15fe1772c94f6b491b6092d954cd.tar.gz
bukkit-b8d2882de6dc15fe1772c94f6b491b6092d954cd.tar.lz
bukkit-b8d2882de6dc15fe1772c94f6b491b6092d954cd.tar.xz
bukkit-b8d2882de6dc15fe1772c94f6b491b6092d954cd.zip
Add API to retrieve a players EnderChest. Adds BUKKIT-2016
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/bukkit/entity/HumanEntity.java7
1 files changed, 7 insertions, 0 deletions
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
@@ -29,6 +29,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.
* @param prop The property.