From f3262382e5d64d5b9cda25f96d5441ff3ac5e7cd Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Wed, 31 Oct 2012 12:14:04 -0500 Subject: [PATCH] Add inventory types for new containers. Fixes BUKKIT-2741 By: Travis Watkins --- .../org/bukkit/event/inventory/InventoryType.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/paper-api/src/main/java/org/bukkit/event/inventory/InventoryType.java b/paper-api/src/main/java/org/bukkit/event/inventory/InventoryType.java index c23908b942..a86ce50424 100644 --- a/paper-api/src/main/java/org/bukkit/event/inventory/InventoryType.java +++ b/paper-api/src/main/java/org/bukkit/event/inventory/InventoryType.java @@ -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;