Added setArmorContents as a method for PlayerInventory.
This commit is contained in:
parent
8b1190626b
commit
5956abc439
@ -39,6 +39,13 @@ public interface PlayerInventory extends Inventory {
|
||||
*/
|
||||
public ItemStack getBoots();
|
||||
|
||||
/**
|
||||
* Put the given ItemStacks into the armor slots
|
||||
*
|
||||
* @param items The ItemStacks to use as armour
|
||||
*/
|
||||
public void setArmorContents(ItemStack[] items);
|
||||
|
||||
/**
|
||||
* Put the given ItemStack into the helmet slot
|
||||
* This does not check if the ItemStack is a helmet
|
||||
|
Loading…
x
Reference in New Issue
Block a user