Package net.minecraftforge.oredict

Examples of net.minecraftforge.oredict.ShapedOreRecipe


  }

  /* CREATING *OreRecipes */
  public static final IRecipe ShapedRecipe(Block result, Object... recipe) {

    return new ShapedOreRecipe(result, recipe);
  }
View Full Code Here


    return new ShapedOreRecipe(result, recipe);
  }

  public static final IRecipe ShapedRecipe(Item result, Object... recipe) {

    return new ShapedOreRecipe(result, recipe);
  }
View Full Code Here

    return new ShapedOreRecipe(result, recipe);
  }

  public static final IRecipe ShapedRecipe(ItemStack result, Object... recipe) {

    return new ShapedOreRecipe(result, recipe);
  }
View Full Code Here

  public static boolean addGearRecipe(ItemStack gear, String ingot) {

    if (gear == null || !oreNameExists(ingot)) {
      return false;
    }
    GameRegistry.addRecipe(new ShapedOreRecipe(gear, " X ", "XIX", " X ", 'X', ingot, 'I', "ingotIron"));
    return true;
  }
View Full Code Here

  public static boolean addGearRecipe(ItemStack gear, String ingot, String center) {

    if (gear == null || !oreNameExists(ingot) || !oreNameExists(center)) {
      return false;
    }
    GameRegistry.addRecipe(new ShapedOreRecipe(gear, " X ", "XIX", " X ", 'X', ingot, 'I', center));
    return true;
  }
View Full Code Here

  public static boolean addGearRecipe(ItemStack gear, String ingot, ItemStack center) {

    if (gear == null | center == null || !oreNameExists(ingot)) {
      return false;
    }
    GameRegistry.addRecipe(new ShapedOreRecipe(gear, " X ", "XIX", " X ", 'X', ingot, 'I', center));
    return true;
  }
View Full Code Here

  public static boolean addGearRecipe(ItemStack gear, ItemStack ingot, String center) {

    if (gear == null | ingot == null || !oreNameExists(center)) {
      return false;
    }
    GameRegistry.addRecipe(new ShapedOreRecipe(gear, " X ", "XIX", " X ", 'X', ingot, 'I', center));
    return true;
  }
View Full Code Here

  public static boolean addRotatedGearRecipe(ItemStack gear, String ingot, String center) {

    if (gear == null || !oreNameExists(ingot) || !oreNameExists(center)) {
      return false;
    }
    GameRegistry.addRecipe(new ShapedOreRecipe(gear, "X X", " I ", "X X", 'X', ingot, 'I', center));
    return true;
  }
View Full Code Here

  public static boolean addRotatedGearRecipe(ItemStack gear, String ingot, ItemStack center) {

    if (gear == null | center == null || !oreNameExists(ingot)) {
      return false;
    }
    GameRegistry.addRecipe(new ShapedOreRecipe(gear, "X X", " I ", "X X", 'X', ingot, 'I', center));
    return true;
  }
View Full Code Here

  public static boolean addRotatedGearRecipe(ItemStack gear, ItemStack ingot, String center) {

    if (gear == null | ingot == null || !oreNameExists(center)) {
      return false;
    }
    GameRegistry.addRecipe(new ShapedOreRecipe(gear, "X X", " I ", "X X", 'X', ingot, 'I', center));
    return true;
  }
View Full Code Here

TOP

Related Classes of net.minecraftforge.oredict.ShapedOreRecipe

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.