cn.nukkit.inventory.HopperInventory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of powernukkit Show documentation
Show all versions of powernukkit Show documentation
A Minecraft Bedrock Edition server software implementation made in Java from scratch which supports all new features.
package cn.nukkit.inventory;
import cn.nukkit.blockentity.BlockEntityHopper;
/**
* @author CreeperFace
* @since 8.5.2017
*/
public class HopperInventory extends ContainerInventory {
public HopperInventory(BlockEntityHopper hopper) {
super(hopper, InventoryType.HOPPER);
}
@Override
public BlockEntityHopper getHolder() {
return (BlockEntityHopper) super.getHolder();
}
}