Started by
s_crowe31
on
Topic category: Help with Minecraft modding (Java Edition)
I figured I could do this. Make a Energy Charge Start and Stop, but it doesnt work. Please Help!!! Thank you I <3 your Brain
But the infinite thing crashes the game, how can I make it infinitely increase so long as the key bind is being pressed.
You just need on key pressed turn logic on, on key released logic off. Then make your add energy on a tick. Because your logic variable is connected to a player it means you can do on player tick update:
If logic = true
set energy to get energy + 35