Package pneumaticCraft.common.inventory

Examples of pneumaticCraft.common.inventory.ContainerAirCannon


    public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z){
        switch(ID){
            case GUI_ID_AIR_COMPRESSOR:
                return new ContainerAirCompressor(player.inventory, (TileEntityAirCompressor)world.getTileEntity(x, y, z));
            case GUI_ID_AIR_CANNON:
                return new ContainerAirCannon(player.inventory, (TileEntityAirCannon)world.getTileEntity(x, y, z));
            case GUI_ID_PRESSURE_CHAMBER:
                return new ContainerPressureChamber(player.inventory, (TileEntityPressureChamberValve)world.getTileEntity(x, y, z));
            case GUI_ID_CHARGING_STATION:
                return new ContainerChargingStation(player.inventory, (TileEntityChargingStation)world.getTileEntity(x, y, z));
            case GUI_ID_ELEVATOR:
View Full Code Here


    private int gpsY;
    private int gpsZ;

    public GuiAirCannon(InventoryPlayer player, TileEntityAirCannon te){

        super(new ContainerAirCannon(player, te), te, Textures.GUI_AIR_CANNON_LOCATION);
        gpsX = te.gpsX;
        gpsY = te.gpsY;
        gpsZ = te.gpsZ;

    }
View Full Code Here

TOP

Related Classes of pneumaticCraft.common.inventory.ContainerAirCannon

Copyright © 2018 www.massapicom. 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.