1
0
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:
Bukkit/Spigot 2012-10-31 12:14:04 -05:00
parent e4567e091b
commit f3262382e5

View File

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