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

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

There is a newer version: 1.20.40-r1
Show newest version
package cn.nukkit.inventory;

import cn.nukkit.api.PowerNukkitOnly;
import cn.nukkit.blockentity.BlockEntityDispenser;

@PowerNukkitOnly
public class DispenserInventory extends EjectableInventory {

    @PowerNukkitOnly
    public DispenserInventory(BlockEntityDispenser blockEntity) {
        super(blockEntity, InventoryType.DISPENSER);
    }

    @Override
    public BlockEntityDispenser getHolder() {
        return (BlockEntityDispenser) super.getHolder();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy