Package net.minecraft.src

Examples of net.minecraft.src.ItemStack


  }

  private static void addBookshelfRecipes() {
    final String rows[] = { "###", "#A#", "A#A", "A##", "##A",
        "#AA", "AA#", "AAA" };
    final ItemStack output = new ItemStack(Block.bookShelf);

    for (final String row1 : rows)
      for (final String row2 : rows)
        for (final Character symbol[] : SYMBOLS)
          Proxy.addRecipe(
View Full Code Here


  }

  private static void addBowlRecipes() {
    final String rows[][] = { { "# #", "A #", "# A", "A A" },
        { " # ", " A " } };
    final ItemStack output = new ItemStack(Item.bowlEmpty, 4);

    for (final String row1 : rows[0])
      for (final String row2 : rows[1])
        for (final Character symbol[] : SYMBOLS)
          Proxy.addRecipe(output, new Object[] { row1, row2,
View Full Code Here

  private static void addChestRecipes() {
    final String rows[][] = {
        { "###", "#A#", "A#A", "A##", "##A", "#AA", "AA#",
            "AAA" }, { "# #", "A #", "# A", "A A" } };
    final ItemStack output = new ItemStack(Block.chest);

    for (final String row1 : rows[0])
      for (final String row2 : rows[1])
        for (final String row3 : rows[0])
          for (final Character symbol[] : SYMBOLS)
View Full Code Here

                Block.planks });
  }

  private static void addDoorRecipes() {
    final String rows[] = { "##", "A#", "#A", "AA" };
    final ItemStack output = new ItemStack(Item.doorWood);

    for (final String row1 : rows)
      for (final String row2 : rows)
        for (final String row3 : rows)
          for (final Character symbol[] : SYMBOLS)
View Full Code Here

                Block.planks });
  }

  private static void addGateRecipes() {
    final String rows[] = { "s#s", "sAs" };
    final ItemStack output = new ItemStack(Block.fenceGate);

    for (final String row1 : rows)
      for (final String row2 : rows)
        for (final Character symbol[] : SYMBOLS)
          Proxy.addRecipe(output, new Object[] { row1, row2,
View Full Code Here

              Item.stick });
  }

  private static void addHoeRecipes() {
    final String rows[] = { "##", "A#", "#A", "AA" };
    final ItemStack output = new ItemStack(Item.hoeWood);

    for (final String row : rows)
      for (final Character symbol[] : SYMBOLS)
        Proxy.addRecipe(output, new Object[] { row, " s", " s",
            symbol[0], BunyanBlock.planks, symbol[1],
View Full Code Here

  private static void addJukeboxRecipes() {
    final String rows[][] = {
        { "###", "#A#", "A#A", "A##", "##A", "#AA", "AA#",
            "AAA" }, { "#d#", "Ad#", "#dA", "AdA" } };
    final ItemStack output = new ItemStack(Block.music);

    for (final String row1 : rows[0])
      for (final String row2 : rows[1])
        for (final String row3 : rows[0])
          for (final Character symbol[] : SYMBOLS)
View Full Code Here

                Block.planks, Character.valueOf('d'),
                Item.diamond });
  }

  private static void addLogTurnerRecipes() {
    final ItemStack itemTurner = new ItemStack(BunyanItem.logTurner);
    new ItemStack(Item.stick, 5);

    Proxy.addRecipe(itemTurner, new Object[] { "ss", " s", "ss",
        Character.valueOf('s'), Item.stick });

    Proxy.addShapelessRecipe(new ItemStack(Item.stick, 5),
        new Object[] { itemTurner });
  }
View Full Code Here

  private static void addNoteblockRecipes() {
    final String rows[][] = {
        { "###", "#A#", "A#A", "A##", "##A", "#AA", "AA#",
            "AAA" }, { "#r#", "Ar#", "#rA", "ArA" } };
    final ItemStack output = new ItemStack(Block.jukebox);

    for (final String row1 : rows[0])
      for (final String row2 : rows[1])
        for (final String row3 : rows[0])
          for (final Character symbol[] : SYMBOLS)
View Full Code Here

  }

  private static void addPickaxeRecipes() {
    final String rows[] = { "###", "#A#", "A#A", "A##", "##A",
        "#AA", "AA#", "AAA" };
    final ItemStack output = new ItemStack(Item.pickaxeWood);

    for (final String row : rows)
      for (final Character symbol[] : SYMBOLS)
        Proxy.addRecipe(output, new Object[] { row, " s ",
            " s ", symbol[0], BunyanBlock.planks,
View Full Code Here

TOP

Related Classes of net.minecraft.src.ItemStack

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.