Package net.glowstone.block.entity

Source Code of net.glowstone.block.entity.TEDispenser

package net.glowstone.block.entity;

import net.glowstone.block.GlowBlock;
import net.glowstone.block.GlowBlockState;
import net.glowstone.block.state.GlowDispenser;
import net.glowstone.inventory.GlowInventory;
import org.bukkit.event.inventory.InventoryType;

public class TEDispenser extends TEContainer {

    public TEDispenser(GlowBlock block) {
        super(block, new GlowInventory(new GlowDispenser(block), InventoryType.DISPENSER));
        setSaveId("Trap");
    }

    @Override
    public GlowBlockState getState() {
        return new GlowDispenser(block);
    }
}
TOP

Related Classes of net.glowstone.block.entity.TEDispenser

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.