Package com.flansmod.common.driveables

Examples of com.flansmod.common.driveables.ContainerDriveableMenu


{
  private static final ResourceLocation texture = new ResourceLocation("flansmod", "gui/planeFuel.png");

    public GuiDriveableFuel(InventoryPlayer inventoryplayer, World world1, EntityDriveable entPlane)
    {
        super(new ContainerDriveableMenu(inventoryplayer, world1, true, entPlane));
    plane = entPlane;
    ySize = 161;
    world = world1;
    inventory = inventoryplayer;
    }
View Full Code Here


  public InventoryPlayer inventory;
  public EntityDriveable entity;
 
    public GuiDriveableMenu(InventoryPlayer inventoryplayer, World world1, EntityDriveable entPlane)
    {
        super(new ContainerDriveableMenu(inventoryplayer, world1));
    entity = entPlane;
    ySize = 180;
    world = world1;
    inventory = inventoryplayer;
    }
View Full Code Here

    switch(ID)
    { 
    case 0 : return null; //Driveable crafting. No server side
    case 1 : return null; //Driveable repair. No server side
    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);
    }
View Full Code Here

TOP

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

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.