From 262a5af199b91d8a9dcdd5ee24d1c3f36266e413 Mon Sep 17 00:00:00 2001 From: Matt Caughey Date: Mon, 13 May 2013 06:05:31 -0400 Subject: [PATCH] Added alternate blue, brown, and green dyes crafted from Blue Milk Caps, Mud Balls, and Moss. --- .../configuration/BOPCrafting.java | 8 ++++++++ .../biomesoplenty/configuration/BOPItems.java | 3 +++ src/minecraft/biomesoplenty/items/ItemBOP.java | 2 +- .../BiomesOPlenty/textures/items/browndye.png | Bin 259 -> 253 bytes 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/minecraft/biomesoplenty/configuration/BOPCrafting.java b/src/minecraft/biomesoplenty/configuration/BOPCrafting.java index 5297e877f..4af165726 100644 --- a/src/minecraft/biomesoplenty/configuration/BOPCrafting.java +++ b/src/minecraft/biomesoplenty/configuration/BOPCrafting.java @@ -32,6 +32,10 @@ public class BOPCrafting GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder, 2, 12), new Object[] {new ItemStack(Blocks.flowers.get(),1,4)}); GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder, 2, 5), new Object[] {new ItemStack(Blocks.flowers.get(),1,8)}); GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder, 2, 8), new Object[] {new ItemStack(Items.miscItems.get(), 1, 1)}); + + GameRegistry.addShapelessRecipe(new ItemStack(Items.miscItems.get(), 2, 5), new Object[] {new ItemStack(Blocks.flowers.get(),1,14)}); + GameRegistry.addShapelessRecipe(new ItemStack(Items.miscItems.get(), 2, 6), new Object[] {new ItemStack(Items.mudball.get(),1,0)}); + GameRegistry.addShapelessRecipe(new ItemStack(Items.miscItems.get(), 2, 7), new Object[] {new ItemStack(Blocks.moss.get(),1,0)}); //Brick stairs and slabs GameRegistry.addRecipe(new ItemStack(Blocks.stoneSingleSlab.get(), 6, 0), new Object[] {"RRR", 'R', new ItemStack(Blocks.redRock.get(),1,1)}); @@ -199,6 +203,10 @@ public class BOPCrafting OreDictionary.registerOre("stickWood", new ItemStack(Blocks.bamboo.get())); OreDictionary.registerOre("stickWood", new ItemStack(Blocks.plants.get(), 1, 8)); + + OreDictionary.registerOre("dyeBlue", new ItemStack(Items.miscItems.get(), 1, 5)); + OreDictionary.registerOre("dyeBrown", new ItemStack(Items.miscItems.get(), 1, 6)); + OreDictionary.registerOre("dyeGreen", new ItemStack(Items.miscItems.get(), 1, 7)); OreDictionary.registerOre("treeSapling", new ItemStack(Blocks.saplings.get(), 1, OreDictionary.WILDCARD_VALUE)); OreDictionary.registerOre("treeSapling", new ItemStack(Blocks.colorizedSaplings.get(), 1, OreDictionary.WILDCARD_VALUE)); diff --git a/src/minecraft/biomesoplenty/configuration/BOPItems.java b/src/minecraft/biomesoplenty/configuration/BOPItems.java index 07e6d3cd2..abc365d7a 100644 --- a/src/minecraft/biomesoplenty/configuration/BOPItems.java +++ b/src/minecraft/biomesoplenty/configuration/BOPItems.java @@ -153,6 +153,9 @@ public class BOPItems { LanguageRegistry.addName(new ItemStack(Items.miscItems.get(), 1, 1), "Pile of Ashes"); LanguageRegistry.addName(new ItemStack(Items.miscItems.get(), 1, 3), "Poison"); LanguageRegistry.addName(new ItemStack(Items.miscItems.get(), 1, 4), "Celestial Crystal Shard"); + LanguageRegistry.addName(new ItemStack(Items.miscItems.get(), 1, 5), "Blue Dye"); + LanguageRegistry.addName(new ItemStack(Items.miscItems.get(), 1, 6), "Brown Dye"); + LanguageRegistry.addName(new ItemStack(Items.miscItems.get(), 1, 7), "Green Dye"); LanguageRegistry.addName(Items.pickaxeMud.get(), "Muddy Pickaxe"); LanguageRegistry.addName(Items.axeMud.get(), "Muddy Axe"); diff --git a/src/minecraft/biomesoplenty/items/ItemBOP.java b/src/minecraft/biomesoplenty/items/ItemBOP.java index e5e6ee847..851c762e4 100644 --- a/src/minecraft/biomesoplenty/items/ItemBOP.java +++ b/src/minecraft/biomesoplenty/items/ItemBOP.java @@ -13,7 +13,7 @@ import cpw.mods.fml.relauncher.SideOnly; public class ItemBOP extends Item { - private static String[] items = {"mudbrick", "ash", "amethyst", "poison", "crystalshard"}; + private static String[] items = {"mudbrick", "ash", "amethyst", "poison", "crystalshard", "bluedye", "browndye", "greendye"}; @SideOnly(Side.CLIENT) private Icon[] textures; diff --git a/src/minecraft/mods/BiomesOPlenty/textures/items/browndye.png b/src/minecraft/mods/BiomesOPlenty/textures/items/browndye.png index fb62e9ded3f22f030ddf038f907a7139796013b6..fcac6bf928af945575310c3f0c33ad0ba2de9df4 100644 GIT binary patch delta 164 zcmV;V09*fq0{sDyJPN@801m+cxRGn^kwz(hc}YY;R5(v#7zNmYtt9h*7)IuUB?$qL z!b%?lFitcT2Wteev+R@z8v;`d(g@N3qG5&+Gz8gZWX*-HnqUkPgJGp!EDEA00_Vg0byjDVH)vjh5?WQWP^}364ZZo)IMe_G0|4KlhOy8O Sf0gn80000M}AYMa|ZAR8yA7Kv0ATb!mY6#4B zbj|37f-p`4&^3cFOcTs@oCbgZ%n%Spwi%`ouVxqkDL^&|StCKs$N;8+WQ{`&FfafW Y0FyD3VTvwM)Bpeg07*qoM6N<$f-pWmi2wiq