Hiya! I'm recreating Grian's "Wild Life" series, but i don't have any modding experience. (If you haven't seen Wild Life, I am essentially activating this in the middle of an smp without anyone knowing what's going to happen, so i can't do it using a server resource pack [It doesn't have to be server side or anything, i'll just give them a renamed version of the file lol])
1.21.3
what i wrote down verbatim was "You no longer have a health or hunger bar, but you have a battery life. You can charge this battery through the methods listed below, or get short bursts of energy using golden foods. Battery will naturally tick down 1% every 2 minutes, but every point of damage is equivalent to 1% battery lost. Different power sources include redstone, eating coal, standing in flowing water)"
I can make the battery mechanic itself with a datapack and the action bar, but i just need everyone's health and hunger bars to visibly disappear through a command or function, i don't need them to stop working. I tried to use a server resource pack but i couldn't make them disappear or reload on command.
