Add more ore dictionary entries for BOP items
This commit is contained in:
parent
1741d2bb6c
commit
4317a78f9e
1 changed files with 22 additions and 11 deletions
|
@ -284,6 +284,10 @@ public class ModCrafting
|
||||||
OreDictionary.registerOre("dyeWhite", new ItemStack(BOPItems.white_dye));
|
OreDictionary.registerOre("dyeWhite", new ItemStack(BOPItems.white_dye));
|
||||||
OreDictionary.registerOre("dyeBlack", new ItemStack(BOPItems.black_dye));
|
OreDictionary.registerOre("dyeBlack", new ItemStack(BOPItems.black_dye));
|
||||||
|
|
||||||
|
OreDictionary.registerOre("record", new ItemStack(BOPItems.record_corruption));
|
||||||
|
OreDictionary.registerOre("record", new ItemStack(BOPItems.record_wanderer));
|
||||||
|
|
||||||
|
|
||||||
for (BOPGems gem : BOPGems.values())
|
for (BOPGems gem : BOPGems.values())
|
||||||
{
|
{
|
||||||
// TODO: for some reason, Amethyst was not included in these sections in the 1.7 code - check this is correct, deliberate behavior
|
// TODO: for some reason, Amethyst was not included in these sections in the 1.7 code - check this is correct, deliberate behavior
|
||||||
|
@ -292,21 +296,28 @@ public class ModCrafting
|
||||||
OreDictionary.registerOre("gem"+gemName, new ItemStack(BOPItems.gem, 1, gem.ordinal()));
|
OreDictionary.registerOre("gem"+gemName, new ItemStack(BOPItems.gem, 1, gem.ordinal()));
|
||||||
OreDictionary.registerOre("ore"+gemName, new ItemStack(BOPBlocks.gem_ore , 1, gem.ordinal()));
|
OreDictionary.registerOre("ore"+gemName, new ItemStack(BOPBlocks.gem_ore , 1, gem.ordinal()));
|
||||||
}
|
}
|
||||||
|
|
||||||
OreDictionary.registerOre("treeSapling", new ItemStack(BOPBlocks.sapling_0, 1, OreDictionary.WILDCARD_VALUE));
|
for (BOPFlowers flower : BOPFlowers.values())
|
||||||
OreDictionary.registerOre("treeSapling", new ItemStack(BOPBlocks.sapling_1, 1, OreDictionary.WILDCARD_VALUE));
|
{
|
||||||
OreDictionary.registerOre("treeSapling", new ItemStack(BOPBlocks.sapling_2, 1, OreDictionary.WILDCARD_VALUE));
|
String flowerName = CaseFormat.UPPER_UNDERSCORE.to(CaseFormat.UPPER_CAMEL, flower.name());
|
||||||
OreDictionary.registerOre("treeLeaves", new ItemStack(BOPBlocks.leaves_0, 1, OreDictionary.WILDCARD_VALUE));
|
OreDictionary.registerOre("flower"+flowerName, BlockBOPFlower.paging.getVariantItem(flower));
|
||||||
OreDictionary.registerOre("treeLeaves", new ItemStack(BOPBlocks.leaves_1, 1, OreDictionary.WILDCARD_VALUE));
|
}
|
||||||
OreDictionary.registerOre("treeLeaves", new ItemStack(BOPBlocks.leaves_2, 1, OreDictionary.WILDCARD_VALUE));
|
|
||||||
OreDictionary.registerOre("treeLeaves", new ItemStack(BOPBlocks.leaves_3, 1, OreDictionary.WILDCARD_VALUE));
|
for (BOPPlants plant : BOPPlants.values())
|
||||||
OreDictionary.registerOre("treeLeaves", new ItemStack(BOPBlocks.leaves_4, 1, OreDictionary.WILDCARD_VALUE));
|
{
|
||||||
OreDictionary.registerOre("treeLeaves", new ItemStack(BOPBlocks.leaves_5, 1, OreDictionary.WILDCARD_VALUE));
|
String plantName = CaseFormat.UPPER_UNDERSCORE.to(CaseFormat.UPPER_CAMEL, plant.name());
|
||||||
|
OreDictionary.registerOre("plant"+plantName, BlockBOPPlant.paging.getVariantItem(plant));
|
||||||
|
}
|
||||||
|
|
||||||
|
for (BOPTrees tree : BOPTrees.values())
|
||||||
|
{
|
||||||
|
OreDictionary.registerOre("treeSapling", BlockBOPSapling.paging.getVariantItem(tree));
|
||||||
|
OreDictionary.registerOre("treeLeaves", BlockBOPLeaves.paging.getVariantItem(tree));
|
||||||
|
}
|
||||||
// TODO ?
|
// TODO ?
|
||||||
// OreDictionary.registerOre("treeLeaves", new ItemStack(BOPCBlocks.appleLeaves, 1, OreDictionary.WILDCARD_VALUE));
|
// OreDictionary.registerOre("treeLeaves", new ItemStack(BOPCBlocks.appleLeaves, 1, OreDictionary.WILDCARD_VALUE));
|
||||||
// OreDictionary.registerOre("treeLeaves", new ItemStack(BOPCBlocks.persimmonLeaves, 1, OreDictionary.WILDCARD_VALUE));
|
// OreDictionary.registerOre("treeLeaves", new ItemStack(BOPCBlocks.persimmonLeaves, 1, OreDictionary.WILDCARD_VALUE));
|
||||||
|
|
||||||
|
|
||||||
for (BOPWoods wood : BOPWoods.values())
|
for (BOPWoods wood : BOPWoods.values())
|
||||||
{
|
{
|
||||||
OreDictionary.registerOre("logWood", BlockBOPLog.paging.getVariantItem(wood));
|
OreDictionary.registerOre("logWood", BlockBOPLog.paging.getVariantItem(wood));
|
||||||
|
|
Loading…
Reference in a new issue