Changed oredict entry for Emerald, Diamond and Apatite shards (#142)

Changed oredict for Emerald, Diamond and Apatite shards to nuggets
This commit is contained in:
Jason McRay authored and mezz committed 2016-04-30 12:57:49 -07:00
1 parent 7987c846aa
commit a2ab168d69
2 files changed
+6 -6

No files matched your search

+4 -4
View File
@@ -387,7 +387,7 @@ public class Config
item = type.toString().toLowerCase();
item = Character.toString(item.charAt(0)).toUpperCase() + item.substring(1);
if (OreDictionary.getOres("ingot" + item).size() <= 0) {
if (OreDictionary.getOres("shard" + item).size() <= 0) {
if (OreDictionary.getOres("nugget" + item).size() <= 0) {
LogHelper.info("Disabled nugget " + type.toString());
type.setInactive();
}
@@ -411,9 +411,9 @@ public class Config
OreDictionary.registerOre("nuggetTin", nuggets.getStackForType(NuggetType.TIN));
OreDictionary.registerOre("nuggetSilver", nuggets.getStackForType(NuggetType.SILVER));
OreDictionary.registerOre("nuggetLead", nuggets.getStackForType(NuggetType.LEAD));
OreDictionary.registerOre("shardDiamond", nuggets.getStackForType(NuggetType.DIAMOND));
OreDictionary.registerOre("shardEmerald", nuggets.getStackForType(NuggetType.EMERALD));
OreDictionary.registerOre("shardApatite", nuggets.getStackForType(NuggetType.APATITE));
OreDictionary.registerOre("nuggetDiamond", nuggets.getStackForType(NuggetType.DIAMOND));
OreDictionary.registerOre("nuggetEmerald", nuggets.getStackForType(NuggetType.EMERALD));
OreDictionary.registerOre("nuggetApatite", nuggets.getStackForType(NuggetType.APATITE));
}
private void setupBotaniaItems() {
@@ -319,12 +319,12 @@ public class CraftingManager {
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Items.diamond),
"xxx", "xxx", "xxx",
'x', "shardDiamond"
'x', "nuggetDiamond"
));
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Items.emerald),
"xxx", "xxx", "xxx",
'x', "shardEmerald"
'x', "nuggetEmerald"
));
GameRegistry.addRecipe(new ShapedOreRecipe(ItemInterface.getItemStack("apatite"),