Jump to content

[1.6.2]Bonemeal Source


Recommended Posts

Im currently working on a new mod, and in this mod I have an item that needs to be created using bonemeal. When I say created using bonemeal I dont mean when this item is on the ground it will grow or something with a right click of bonemeal. Im saying that in the crafting table I need an actual recipe that involves bonemeal. The problem is whenever I look in the items class theres not name that I can see that represents bone meal. If anyone knows the answer to this please help! Thanks!

Link to comment
Share on other sites

Ok so i guess I got in game and tested the bonemeal and It didnt work. Here is the line of code I used that I thought would work:


GameRegistry.addRecipe(new ItemStack(FertalizerCan, 1), new Object[]{ " cb", " b ", " b ", 'c', Item.coal, 'b', new ItemStack(Item.dyePowder, [glow=red,2,300]15[/glow]) });


The glowing number is where I thought the damage value would be declared but I dont know why its not working I tested out different numbers and none of the powders work. If you know how to fix this please help! THANKS!

Link to comment
Share on other sites

Im looking for an answer if you have one?! Thanks!


this is how i did it:



GameRegistry.addRecipe(new ItemStack(BlueStoneShard), new Object[]{
         "L  "," C ","  L", 'C', BlueStoneChunk, 'L', new ItemStack(Item.dyePowder, 1, 4),


So to break it down a little. to define L as Lapis I had to do


'L', new ItemStack(Item.dyePowder


now the 1 defines how many in the stack.


'L', new ItemStack(Item.dyePowder, 1,


the four is the damage value and now we have


 'L', new ItemStack(Item.dyePowder, 1, 4)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.