Add inventory types for new containers. Fixes BUKKIT-2741

This commit is contained in:
Travis Watkins
2012-10-31 12:14:04 -05:00
committed by EvilSeph
parent aa4644cda3
commit b077059192

View File

@@ -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;