Package com.flansmod.common.driveables.mechas

Examples of com.flansmod.common.driveables.mechas.ContainerMechaInventory


  private int anim = 0;
  private long lastTime;
 
    public GuiMechaInventory(InventoryPlayer inventoryplayer, World world1, EntityMecha entMecha)
    {
        super(new ContainerMechaInventory(inventoryplayer, world1, entMecha));
    mecha = entMecha;
    inventory = inventoryplayer;
    world = world1;
    container = (ContainerMechaInventory)inventorySlots;
    ySize = 180;
View Full Code Here


    //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.mechas.ContainerMechaInventory

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.