mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-17 21:33:49 -07:00
Add API to retrieve a players EnderChest. Adds BUKKIT-2016
By: feildmaster <admin@feildmaster.com>
This commit is contained in:
@@ -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.
|
||||||
|
Reference in New Issue
Block a user