Package com.flansmod.common.driveables

Examples of com.flansmod.common.driveables.ContainerDriveableInventory


  public EntityDriveable driveable;
  public int screen; //0 = Guns, 1 = Bombs, 2 = Cargo
 
    public GuiDriveableInventory(InventoryPlayer inventoryplayer, World world1, EntityDriveable entPlane, int i)
    {
        super(new ContainerDriveableInventory(inventoryplayer, world1, entPlane, i));
    driveable = entPlane;
    inventory = inventoryplayer;
    world = world1;
    container = (ContainerDriveableInventory)inventorySlots;
    ySize = 180;
View Full Code Here


    case 2: return new ContainerGunModTable(player.inventory, world);
    case 3: return new ContainerDriveableMenu(player.inventory, world);
    case 4: return new ContainerDriveableMenu(player.inventory, world, true, ((EntitySeat)player.ridingEntity).driveable);
    case 5 : return null; //Gun box. No server side
    //Plane inventory screens
    case 6: return new ContainerDriveableInventory(player.inventory, world, ((EntitySeat)player.ridingEntity).driveable, 0);
    case 7: return new ContainerDriveableInventory(player.inventory, world, ((EntitySeat)player.ridingEntity).driveable, 1);
    case 8: return new ContainerDriveableMenu(player.inventory, world, true, ((EntitySeat)player.ridingEntity).driveable);
    case 9: return new ContainerDriveableInventory(player.inventory, world, ((EntitySeat)player.ridingEntity).driveable, 2);
    case 10: return new ContainerMechaInventory(player.inventory, world, (EntityMecha)((EntitySeat)player.ridingEntity).driveable);
    case 11 : return null; //Armour box. No server side
    case 12 : return new ContainerDriveableInventory(player.inventory, world, ((EntitySeat)player.ridingEntity).driveable, 3);
    }
    return null;
  }
View Full Code Here

TOP

Related Classes of com.flansmod.common.driveables.ContainerDriveableInventory

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.