mirror of
https://github.com/PaperMC/Paper.git
synced 2025-04-08 04:55:44 +02:00
Add inventory types for new containers. Fixes BUKKIT-2741
By: Travis Watkins <amaranth@ubuntu.com>
This commit is contained in:
parent
e4567e091b
commit
f3262382e5
@ -47,7 +47,16 @@ public enum InventoryType {
|
|||||||
/**
|
/**
|
||||||
* The ender chest inventory, with 27 slots.
|
* The ender chest inventory, with 27 slots.
|
||||||
*/
|
*/
|
||||||
ENDER_CHEST(27,"Ender Chest");
|
ENDER_CHEST(27,"Ender Chest"),
|
||||||
|
/**
|
||||||
|
* An anvil inventory, with 2 CRAFTING slots and 1 RESULT slot
|
||||||
|
*/
|
||||||
|
ANVIL(3, "Repairing"),
|
||||||
|
/**
|
||||||
|
* A beacon inventory, with 1 CRAFTING slot
|
||||||
|
*/
|
||||||
|
BEACON(1, "container.beacon"),
|
||||||
|
;
|
||||||
|
|
||||||
private final int size;
|
private final int size;
|
||||||
private final String title;
|
private final String title;
|
||||||
|
Loading…
Reference in New Issue
Block a user