Started by
CaiGuyCrafter
on
Topic category: Help with Minecraft modding (Java Edition)
In my mod, I'm making this dimension that you can only get to if you die. There is literally nothing there, though. No trees, no animals, nothing, so you couldn't even eat if you wanted to. If I left eating on, you would never be able to get out, so I think I want to turn off hunger points for only when you are in that dimension. Hope it makes sense. Obviously, I don't know how to code that, I'm so bad, lol. If anyone could help that would be great.
the only way i can think of is giving hunger maybe.like checking if player has enough food points
Oh ok thanks, I'll try it