13
0
geforkt von Mirrors/Paper

Add inventory types for new containers. Fixes BUKKIT-2741

By: Travis Watkins <amaranth@ubuntu.com>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2012-10-31 12:14:04 -05:00
Ursprung e4567e091b
Commit f3262382e5

Datei anzeigen

@ -47,7 +47,16 @@ public enum InventoryType {
/**
* 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 String title;