Stormwind99 / FoodFunk

Minecraft mod: What is that funky smell in my backpack? Food spoils over time unless preserved. Configure any item to rot, any container to preserve items.
https://minecraft.curseforge.com/projects/food-funk
GNU Lesser General Public License v3.0
10 stars 8 forks source link

Incompatibility with Tough as nails thirst #55

Open Lorsieab2 opened 5 years ago

Lorsieab2 commented 5 years ago

Describe the bug A clear and concise description of what the bug is. Hi, I found a bug. There's an incompatibility with Tough as nails and food funk where if you add the drinks (toughasnails:fruit_juice) to the rottable foods in the foodfunk.cfg, and try to drink them when your TAN thirst bar isn't full, then the drinks won't replenish the bar. I tried disabling foodfunk, and the drinks worked as normal.

To Reproduce Steps to reproduce the behavior:

  1. Install tough as nails and foodfunk
  2. Set toughasnails:fruit_juice to rot in the foodfunk config
  3. Use any TAN juice when your thirst bar's not full
  4. See error

Expected behavior A clear and concise description of what you expected to happen. Using the fruit juice replenishes the thirst bar.

Logs Attach the Minecraft latest.log from a session where you duplicate the bug. If the mod has a debugging config option, please enable debugging and restart Minecraft before generating the log.

The log is critical - it contains the versions of the mod, Forge, and Minecraft being used in addition to other needed information.

latest.log

Config files Attach the configuration files related to this issue, usually foodfunk.cfg and wumpleutil.cfg at minimum.

wumpleutil.cfg.zip foodfunk.cfg.zip drink_stats.json.zip

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

This also happens to everything that's added to both TAN's drink_stats.json and foodfunk's rotting config.

Sunconure11 commented 5 years ago

@Stormwind99 @adubbz @forstride

Sunconure11 commented 5 years ago

Also, I believe this issue to be connected to NBT data the mod sets on food items. Try installing harvestcraft, set a thirst value to one of it's drinks, and set it not rot.

Sunconure11 commented 5 years ago

I'd advise reporting this to the TaN repo, as well.

https://github.com/Glitchfiend/ToughAsNails

Lorsieab2 commented 5 years ago

Yeah, setting the drinks to not rot worked. I reported it to the TAN repo too.

Sunconure11 commented 4 years ago

Can you add options for dealing with things with NBT and Metadata? I haven’t played with this mod in a while so I could be missing something.