Package erogenousbeef.bigreactors.common.item

Examples of erogenousbeef.bigreactors.common.item.ItemIngot


      FMLInterModComms.sendRuntimeMessage(BRLoader.MOD_ID, "VersionChecker", "addVersionCheck", "http://big-reactors.com/version.json");
    }
  }

  private void sendInterModAPIMessages() {
    ItemIngot ingotGeneric = BigReactors.ingotGeneric;
    ItemStack yelloriteOre   = new ItemStack(BigReactors.blockYelloriteOre, 1);

    final int YELLORIUM = 0;
   
    String[] names = ItemIngot.MATERIALS;
    ItemStack[] ingots = new ItemStack[names.length];
    ItemStack[] dusts = new ItemStack[names.length];
   
    for(int i = 0; i < names.length; i++) {
      ingots[i] = ingotGeneric.getIngotItem(names[i]);
      dusts[i] = ingotGeneric.getDustItem(names[i]);
    }
   
    ItemStack doubledYelloriumDust = null;
    if(dusts[YELLORIUM] != null) {
      doubledYelloriumDust = dusts[YELLORIUM].copy();
View Full Code Here


  public static ItemStack registerIngots(int id) {
    if (BigReactors.ingotGeneric == null)
    {
      BRConfig.CONFIGURATION.load();
      registerYelloriumAsUranium = BRConfig.CONFIGURATION.get("Recipes", "registerYelloriumAsUranium", true, "If set, yellorium will be registered in the ore dictionary as ingotUranium as well as ingotYellorium. Otherwise, it will only be registered as ingotYellorium. (Default: true)").getBoolean(true);
      BigReactors.ingotGeneric = new ItemIngot();
            GameRegistry.registerItem(ingotGeneric, "BRIngot");

      // Register all generic ingots & dusts
      String itemName;
      for(int i = 0; i < ItemIngot.TYPES.length; i++) {
View Full Code Here

public class ModHelperMekanism extends ModHelperBase {

  @Optional.Method(modid = "Mekanism")
  @Override
  public void register() {
    ItemIngot ingotGeneric = ((ItemIngot)BigReactors.ingotGeneric);
   
    ItemStack yelloriteOre   = new ItemStack(BigReactors.blockYelloriteOre, 1);
    ItemStack ingotYellorium= ingotGeneric.getItemStackForType("ingotYellorium");
    ItemStack ingotCyanite   = ingotGeneric.getItemStackForType("ingotCyanite");
    ItemStack ingotGraphite = ingotGeneric.getItemStackForType("ingotGraphite");
    ItemStack ingotBlutonium= ingotGeneric.getItemStackForType("ingotBlutonium");
    ItemStack dustYellorium = ingotGeneric.getItemStackForType("dustYellorium");
    ItemStack dustCyanite   = ingotGeneric.getItemStackForType("dustCyanite");
    ItemStack dustGraphite   = ingotGeneric.getItemStackForType("dustGraphite");
    ItemStack dustBlutonium = ingotGeneric.getItemStackForType("dustBlutonium");

    // Some mods make me do this myself. :V
    ItemStack doubledYelloriumDust = null;
    if(dustYellorium != null) {
      doubledYelloriumDust = dustYellorium.copy();
View Full Code Here

TOP

Related Classes of erogenousbeef.bigreactors.common.item.ItemIngot

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.