Content: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Background: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Pattern: Blank Waves Notes Sharp Wood Rockface Leather Honey Vertical Triangles
Welcome to TerraFirmaCraft Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • Dries007

      ATTENTION Forum Database Breach   03/04/2019

      There has been a breach of our database. Please make sure you change your password (use a password manager, like Lastpass).
      If you used this password anywhere else, change that too! The passwords themselves are stored hashed, but may old accounts still had old, insecure (by today's standards) hashes from back when they where created. This means they can be "cracked" more easily. Other leaked information includes: email, IP, account name.
      I'm trying my best to find out more and keep everyone up to date. Discord (http://invite.gg/TerraFirmaCraft) is the best option for up to date news and questions. I'm sorry for this, but the damage has been done. All I can do is try to make sure it doesn't happen again.
    • Claycorp

      This forum is now READ ONLY!   01/20/2020

      As of this post and forever into the future this forum has been put into READ ONLY MODE. There will be no new posts! A replacement is coming SoonTM . If you wish to stay up-to-date on whats going on or post your content. Please use the Discord or Sub-Reddit until the new forums are running.

      Any questions or comments can be directed to Claycorp on either platform.
ciekma

Minetweaker+TFC question

5 posts in this topic

I want to use certain amount of food, for example full stack, in MT recipe, but ever if I have it declared as item.withTag({foodWeight: 160.0 as float}), any amount of item is acepted.

Is it possible to define full stack of food for MT?

0

Share this post


Link to post
Share on other sites

You want onlyWithTag for ingredients. Be warned that food behaves strangely in crafting because of the TFC food crafting handler. 

FYI this would be better posted in the ModPack discussion section. More likely to get noticed. Was actually dumb luck that I saw it. 

Edited by Bunsan
0

Share this post


Link to post
Share on other sites

Thank you, I forgot about difference between withTag and onlyWithTag. Now it works, however NEI display 'BAD info' when hovering mouse pointer  - is it harmless?

 

0

Share this post


Link to post
Share on other sites

I assume this is for the food crafting ingredient. In which case I believe it is fine and is simply due to the fact you've only given ingredient partial NBT. If it is output, yes it may cause issues. Be certain to test your recipes in, in survival, in inventory crafting grid and vanilla workbench. Only the player crafting grid uses TFC crafting manager. 

0

Share this post


Link to post
Share on other sites

No, I'm not using food as food ingredient, I want to use berries to create potions.

EDIT: works fine in survival mode (but collecting full stack of berries is not trivial)

Edited by ciekma
solved
0

Share this post


Link to post
Share on other sites