Package org.spoutcraft.client.inventory

Examples of org.spoutcraft.client.inventory.CraftItemStack


        this.func_135015_g();
      }
     
      if (par3ItemStack != null && par3ItemStack.itemID == 318) {
        String custom, customName;
        custom = Spoutcraft.getMaterialManager().getToolTip(new CraftItemStack(par3ItemStack));       
        if (custom != null) {
          String[] split = custom.split("\n");
          customName = split[0];
          this.itemNameField.setText(customName);
        } else {
View Full Code Here


    GL11.glDisable(GL12.GL_RESCALE_NORMAL);
    RenderHelper.disableStandardItemLighting();
    GL11.glDisable(GL11.GL_LIGHTING);
    GL11.glDisable(GL11.GL_DEPTH_TEST);
    // Spout Start
    List var4 = Arrays.asList(Spoutcraft.getMaterialManager().getToolTip(new CraftItemStack(par1ItemStack)).split("\n"));
    // Spout End

    if (!var4.isEmpty()) {
      int var5 = 0;
      int var7;
View Full Code Here

      var38 = (screenWidth - font.getStringWidth(var34)) / 2;
      this.mc.mcProfiler.startSection("toolHighlight");

      if (this.remainingHighlightTicks > 0 && this.highlightingItemStack != null) {
        if (this.highlightingItemStack.itemID == MaterialData.flint.getRawId()) {
          custom = Spoutcraft.getMaterialManager().getToolTip(new CraftItemStack(this.highlightingItemStack));
        }
        if (custom != null) {
          String[] split = custom.split("\n");
          String newCustom = split[0];
          var35 = newCustom;
View Full Code Here

TOP

Related Classes of org.spoutcraft.client.inventory.CraftItemStack

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.