Jump to content

Recommended Posts

Posted

Hi, I have a mod where I need different numbers of different items to be craftable into a certain item. IE,

ย 

10 stacked deadbushes = 1 of item in a crafting table. So it can't be like, two stacks of 5, or 9 deadbushes throughout the table. It has to be a stack of 10. I have tried to do this by making itemstacks, but this does not seem to work. any ideas? Here is my recipe code...

ย 

GameRegistry.addShapelessRecipe(new ItemStack(ModItems.pelletsFuel,1),new Object[]{new ItemStack(Blocks.DEADBUSH, 10)});

ย 

The problem is, if i put 1 deadbush in the table, it outputs one of these items. If i put in 10, it will output 10. I need to put in 10 and output 1. Please help.

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.

Announcements



×
×
  • Create New...

Important Information

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