Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nether Iron & Gold does not work in Macerator #3

Open
antisocialian opened this issue Aug 3, 2012 · 0 comments
Open

Nether Iron & Gold does not work in Macerator #3

antisocialian opened this issue Aug 3, 2012 · 0 comments

Comments

@antisocialian
Copy link

From: http://forums.technicpack.net/threads/nether-iron-does-not-work-in-macerator.11901/#post-139602

'm having the same problem and i found that its got to be something to with the server side and not the client side tho since using the Tekkit client and starting a single player world the macerator works fine with the Nether Iron and Nether Gold there like it should, it produces 4 dust for each nether ore put in.

In looking at the "NetherOresCore.class" file there are 2 lines that are for gold and iron and not for the rest of them, not sure if that makes a difference or not tho, i'm not really good with java:

if ((Boolean.parseBoolean(enableMaceratorRecipes.value)) && (ModLoader.isModLoaded("mod_IC2")))
{
ItemStack goldDust = Items.getItem("goldDust");
ItemStack ironDust = Items.getItem("ironDust");

Ic2Recipes.addMaceratorRecipe(new ItemStack(blockNetherOres.id, 1, 0), new ItemStack(Item.COAL, 2));
Ic2Recipes.addMaceratorRecipe(new ItemStack(blockNetherOres.id, 1, 1), new ItemStack(Item.DIAMOND, 2));
if (goldDust != null)
{
Ic2Recipes.addMaceratorRecipe(new ItemStack(blockNetherOres.id, 1, 2), new ItemStack(goldDust.id, 4, 0));
}
if (ironDust != null)
{
Ic2Recipes.addMaceratorRecipe(new ItemStack(blockNetherOres.id, 1, 3), new ItemStack(ironDust.id, 4, 0));
}
Ic2Recipes.addMaceratorRecipe(new ItemStack(blockNetherOres.id, 1, 4), new ItemStack(Item.INK_SACK, 8, 4));
Ic2Recipes.addMaceratorRecipe(new ItemStack(blockNetherOres.id, 1, 5), new ItemStack(Item.REDSTONE, 6));

System.out.println("NetherOres: loaded Macerator Recipes");
}
My guess from the code is that they are trying to pull in the items for gold dust and iron dust and that's not loading properly, perhaps they are called something else or there is a different way to refer to them.

ItemStack goldDust = Items.getItem("goldDust");
ItemStack ironDust = Items.getItem("ironDust");
Also in that list of macerator stuff it doesn't include Nether Copper or Nether Tin both of which macerate into 2 regular ores per, which goes into 2 dusts if run thru again, thereby giving 4 dust per nether ore for Nether Copper and Nether Tin .

So...wherever the Ic2Recipes.addMaceratorRecipe is listed f the Nether Copper and Nether Tin, would be the best place to look to find out how best to fix the Nether Gold and Nether Iron.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant