MC Modding
Please register and join the community!


Join the forum, it's quick and easy

MC Modding
Please register and join the community!
MC Modding
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How to add Dyes in Recipes

+2
filip151
austin56101
6 posters

Go down

How to add Dyes in Recipes Empty How to add Dyes in Recipes

Post by austin56101 Wed Oct 26, 2011 3:45 am

ok so this is basically one code and you change the DATA value of the code


Change the second number to change the data value (4)
Code:
" * "," Y ", Character.valueOf('*'), Block.glass, Character.valueOf('Y'), new ItemStack(Item.dyePowder, 1, 4)

change the 4 to a Dec value of your choosing
How to add Dyes in Recipes HfBQd
austin56101
austin56101
Moderator
Moderator

Posts : 85
Join date : 2011-10-22
Age : 27
Location : Cali!

Back to top Go down

How to add Dyes in Recipes Empty Re: How to add Dyes in Recipes

Post by filip151 Wed Oct 26, 2011 12:29 pm

This can be useful, thx!

filip151
Member

Posts : 11
Join date : 2011-10-21
Age : 25
Location : Norway, Oslo Poland, Swiecie

Back to top Go down

How to add Dyes in Recipes Empty Re: How to add Dyes in Recipes

Post by austin56101 Wed Oct 26, 2011 4:41 pm

Welcome
austin56101
austin56101
Moderator
Moderator

Posts : 85
Join date : 2011-10-22
Age : 27
Location : Cali!

Back to top Go down

How to add Dyes in Recipes Empty Re: How to add Dyes in Recipes

Post by lcass Thu Oct 27, 2011 4:35 pm

were do you put it? also will this function as a bone meal like thing?

lcass
Member

Posts : 145
Join date : 2011-10-24
Location : england

https://www.youtube.com/user/thealcasgroup

Back to top Go down

How to add Dyes in Recipes Empty Re: How to add Dyes in Recipes

Post by ikke009 Thu Oct 27, 2011 4:42 pm

lcass wrote:were do you put it? also will this function as a bone meal like thing?
the code is for recipes only, so you put it in the mod_namehere class.
however this is not the full code for recipes, it only shows how to use dyes in them
ikke009
ikke009
Member

Posts : 65
Join date : 2011-10-24
Age : 29
Location : The netherlands

Back to top Go down

How to add Dyes in Recipes Empty Re: How to add Dyes in Recipes

Post by lcass Thu Oct 27, 2011 5:47 pm

o

lcass
Member

Posts : 145
Join date : 2011-10-24
Location : england

https://www.youtube.com/user/thealcasgroup

Back to top Go down

How to add Dyes in Recipes Empty Re: How to add Dyes in Recipes

Post by BobTehCodar Sat Oct 29, 2011 2:32 am

I was going to post this Razz

BobTehCodar
Member

Posts : 3
Join date : 2011-10-28

Back to top Go down

How to add Dyes in Recipes Empty Re: How to add Dyes in Recipes

Post by pv9avenger Fri Mar 16, 2012 6:33 pm

am i right that this was supposed to be a recipe to make mycelium?

pv9avenger
Member

Posts : 8
Join date : 2012-01-31
Age : 24
Location : Iceland

Back to top Go down

How to add Dyes in Recipes Empty Re: How to add Dyes in Recipes

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum