[Answered] Using Dyes In Recipes [1.5_01] [2.12]
4 posters
Page 1 of 1
[Answered] Using Dyes In Recipes [1.5_01] [2.12]
I would like to know how to use dyes in recipes
I would like to use the blue dye, but of course the other colours will follow the same code with a little bit of tweaking
- Code:
ModLoader.AddRecipe(new ItemStack(lightdirtblue, 1), new Object[] {
"XXX", "XYX", Character.valueOf('X'), Block.dirt, Character.valueOf('Y'), What goes here ?
I would like to use the blue dye, but of course the other colours will follow the same code with a little bit of tweaking
Last edited by Jambokid on Fri Apr 29, 2011 3:40 pm; edited 1 time in total
Jambokid- Recruit
- Posts : 7
Join date : 2011-04-28
Re: [Answered] Using Dyes In Recipes [1.5_01] [2.12]
Block.wool.blockID, 11
_1Greg1_- Gold Miner
- Posts : 82
Join date : 2011-04-26
Age : 27
Re: [Answered] Using Dyes In Recipes [1.5_01] [2.12]
- Code:
new ItemStack(Item.dyePowder, 2, 4)
the 2 has to be there, but the second number is the damage value...
the damage values for dyes are:
Black - 0
Red - 1
Green - 2
Brown - 3
Blue - 4
Purple - 5
Cyan - 6
Light Gray - 7
Gray - 8
Pink - 9
Lime Green - 10
Yellow - 11
Light Blue - 12
Magenta - 13
Orange - 14
White - 15
Meglazero- Iron Miner
- Posts : 51
Join date : 2011-04-22
Re: [Answered] Using Dyes In Recipes [1.5_01] [2.12]
This should be it:
Easy!
- Code:
ModLoader.AddRecipe(new ItemStack(lightdirtblue, 1), new Object[] {
"XXX", "XYX", Character.valueOf('X'), Block.dirt, Character.valueOf('Y'), new ItemStack(Item.dyePowder, 1, 4)
})
Easy!
Re: [Answered] Using Dyes In Recipes [1.5_01] [2.12]
Thanks ! It Worked
Jambokid- Recruit
- Posts : 7
Join date : 2011-04-28
Similar topics
» [Answered] Colored Dye Recipes [1.5_01][2.12]
» [Answered]Reusable Items in Crafting Recipes [1.5_01] [2.12]
» Furnace Recipes With User Made Blocks.
» [Answered] Please help. [1.4_01] [2.11]
» [Answered] MCP 3.1 Equivalent of client_obfuscation
» [Answered]Reusable Items in Crafting Recipes [1.5_01] [2.12]
» Furnace Recipes With User Made Blocks.
» [Answered] Please help. [1.4_01] [2.11]
» [Answered] MCP 3.1 Equivalent of client_obfuscation
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|