MC Modding
Please register and join the community!

How to add Dyes in Recipes

Go down

How to add Dyes in Recipes

Post by austin56101 on 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
avatar
austin56101
Moderator
Moderator

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

View user profile

Back to top Go down

Re: How to add Dyes in Recipes

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

This can be useful, thx!

filip151
Member

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

View user profile

Back to top Go down

Re: How to add Dyes in Recipes

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

Welcome
avatar
austin56101
Moderator
Moderator

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

View user profile

Back to top Go down

Re: How to add Dyes in Recipes

Post by lcass on 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

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

Back to top Go down

Re: How to add Dyes in Recipes

Post by ikke009 on 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
avatar
ikke009
Member

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

View user profile

Back to top Go down

Re: How to add Dyes in Recipes

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

o

lcass
Member

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

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

Back to top Go down

Re: How to add Dyes in Recipes

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

I was going to post this Razz

BobTehCodar
Member

Posts : 3
Join date : 2011-10-28

View user profile

Back to top Go down

Re: How to add Dyes in Recipes

Post by pv9avenger on 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 : 19
Location : Iceland

View user profile

Back to top Go down

Re: How to add Dyes in Recipes

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


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