geforkt von Mirrors/Paper
Add Hopper block state and inventory type. Adds BUKKIT-3749
By: Michael Limiero <mike5713@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
50f297d941
Commit
08b0ee9e53
8
paper-api/src/main/java/org/bukkit/block/Hopper.java
Normale Datei
8
paper-api/src/main/java/org/bukkit/block/Hopper.java
Normale Datei
@ -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;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren