Jump to content

[1.7.10][SOLVED]Shapeless recipe not registering


nosrick

Recommended Posts

More questions!

 

So I've got a shapeless recipe, of one dirt block and one poop, but it just doesn't work. What am I doing wrong? I apologise in advance if it's something glaringly obvious.

 

 

GameRegistry.addShapelessRecipe(new ItemStack(gotchiFertiliser, 4), new ItemStack(Blocks.dirt), new ItemStack(BlockRegistry.poopBlock));

 

 

EDIT: Just to add, the code is most certainly being executed. I have a print statement above it that triggers.

Link to comment
Share on other sites

More questions!

 

So I've got a shapeless recipe, of one dirt block and one poop, but it just doesn't work. What am I doing wrong? I apologise in advance if it's something glaringly obvious.

 

 

GameRegistry.addShapelessRecipe(new ItemStack(gotchiFertiliser, 4), new ItemStack(Blocks.dirt), new ItemStack(BlockRegistry.poopBlock));

 

 

EDIT: Just to add, the code is most certainly being executed. I have a print statement above it that triggers.

 

isnt it GameRegistry.addRecipe instead of GameRegistry.addShapelessRecipe?

this is how i do it

 

GameRegistry.addRecipe(new ItemStack(modID.kingitem, 1), "S", "B", 'S', Blocks.stone, 'B', Blocks.dirt);

NEWB! in java im sorry :/

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.

Guest
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.