Add Hopper block state and inventory type. Adds BUKKIT-3749
This commit is contained in:
parent
823c6c0ec6
commit
c928810354
8
src/main/java/org/bukkit/block/Hopper.java
Normal file
8
src/main/java/org/bukkit/block/Hopper.java
Normal file
@ -0,0 +1,8 @@
|
||||
package org.bukkit.block;
|
||||
|
||||
/**
|
||||
* Represents a hopper.
|
||||
*/
|
||||
public interface Hopper extends BlockState, ContainerBlock {
|
||||
|
||||
}
|
@ -56,6 +56,10 @@ public enum InventoryType {
|
||||
* A beacon inventory, with 1 CRAFTING slot
|
||||
*/
|
||||
BEACON(1, "container.beacon"),
|
||||
/**
|
||||
* A hopper inventory, with 5 slots of type CONTAINER.
|
||||
*/
|
||||
HOPPER(5, "Item Hopper"),
|
||||
;
|
||||
|
||||
private final int size;
|
||||
|
Loading…
x
Reference in New Issue
Block a user