Add Hopper block state and inventory type. Adds BUKKIT-3749

This commit is contained in:
Michael Limiero 2013-03-15 23:22:53 -04:00 committed by Travis Watkins
parent 823c6c0ec6
commit c928810354
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,8 @@
package org.bukkit.block;
/**
* Represents a hopper.
*/
public interface Hopper extends BlockState, ContainerBlock {
}

View File

@ -56,6 +56,10 @@ public enum InventoryType {
* A beacon inventory, with 1 CRAFTING slot * A beacon inventory, with 1 CRAFTING slot
*/ */
BEACON(1, "container.beacon"), BEACON(1, "container.beacon"),
/**
* A hopper inventory, with 5 slots of type CONTAINER.
*/
HOPPER(5, "Item Hopper"),
; ;
private final int size; private final int size;