cn.nukkit.inventory.HopperInventory Maven / Gradle / Ivy
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();
}
@Override
public boolean canCauseVibration() {
return true;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy