mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 09:47:40 +01:00
Add API to retrieve a players EnderChest. Adds BUKKIT-2016
By: feildmaster <admin@feildmaster.com>
This commit is contained in:
parent
fe02795623
commit
0ed310838f
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user