Examples of CraftPad


Examples of xk.xact.core.CraftPad

    if( ID == 3 ) { // Craft Pad
      int invSlot = meta == 0 ? player.inventory.currentItem : meta - 1;
      ItemStack item = player.inventory.mainInventory[invSlot];
      item.setItemDamage( 1 );
      CraftPad craftPad = new CraftPad( item, player );
      return new ContainerPad( craftPad, player, invSlot );
    }

    // no ID == 4. GuiPlan, client-side only.
View Full Code Here

Examples of xk.xact.core.CraftPad

      return new GuiVanillaWorkbench( new ContainerVanillaWorkbench( workbench, player ) );
    }

    if( ID == 3 ) { // Craft Pad
      int invSlot = meta == 0 ? player.inventory.currentItem : meta - 1;
      CraftPad craftPad = new CraftPad( player.inventory.mainInventory[invSlot], player );
      return new GuiPad( craftPad, new ContainerPad( craftPad, player, invSlot ) );
    }

    if( ID == 4 ) { // Open the plan.
View Full Code Here
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.