7891011121314
import org.bukkit.event.inventory.InventoryType; public class TEHopper extends TEContainer { public TEHopper(GlowBlock block) { super(block, new GlowInventory(new GlowHopper(block), InventoryType.HOPPER)); setSaveId("Hopper"); }
13141516171819
setSaveId("Hopper"); } @Override public GlowBlockState getState() { return new GlowHopper(block); }