The Spice of Life

The Spice of Life

16M Downloads

Command/API to enable/disable hunger mechanics for a given player

rockobonaparte opened this issue ยท 0 comments

commented

I was hoping to introduce Spice of Life into a tutorial mod pack. It assumes people don't even know how vanilla Minecraft works, so I don't want to slam them with food problems immediately. I was hoping to have a means via a command or an API to trigger the mechanics when they have reached a specific point in the food section of the HQM quest book.

In my own head, I was thinking I'd add a "hunger pill" in my own support mod that could trigger Spice of Life to start governing their diet, and using it would create an item the HQM book would notice to let them proceed. I can do all that kind of stuff myself, but I would need a hook to do the toggle.

People play the current version of this pack on servers, so I would want to target the specific player rather than have a global toggle. Is something like this possible today?

For what it's worth, I'm currently trying to migrate the pack from 1.7.10 to 1.10.2, and it will likely end up on 1.11+. I don't want to do this at all for 1.7.10. In terms of timelines, we're talking on the order of months.