mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-16 12:43:52 -07:00
Add Hopper block state and inventory type. Adds BUKKIT-3749
By: Michael Limiero <mike5713@gmail.com>
This commit is contained in:
8
paper-api/src/main/java/org/bukkit/block/Hopper.java
Normal file
8
paper-api/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
|
* 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;
|
||||||
|
Reference in New Issue
Block a user