mirror of
https://github.com/songoda/EpicHoppers.git
synced 2024-06-26 14:44:54 +02:00
21 lines
509 B
Java
21 lines
509 B
Java
package com.songoda.epichoppers.containers;
|
|
|
|
import org.bukkit.block.Block;
|
|
import org.bukkit.inventory.ItemStack;
|
|
|
|
public abstract class CustomContainer {
|
|
private final Block block;
|
|
|
|
public CustomContainer(Block block) {
|
|
this.block = block;
|
|
}
|
|
|
|
public abstract boolean addToContainer(ItemStack itemToMove);
|
|
|
|
public abstract ItemStack[] getItems();
|
|
|
|
public abstract void removeFromContainer(ItemStack itemToMove, int amountToMove);
|
|
|
|
public abstract boolean isContainer();
|
|
}
|