All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.nukkit.inventory.HopperInventory Maven / Gradle / Ivy

There is a newer version: 1.20.40-r1
Show newest version
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