Started by
lolipoop266
on
Topic category: Help with Minecraft modding (Java Edition)
Hi people, I wanna add a, let's say, skills in my mod. For example : every 5000 blocks that you walk add one level to your speed stat (I want to be able to see the stats in a GUI too). And so I have found out about capabilities, even though I read about it on the forge page and looked at some tutorials I'm still not really able to understand it, so if anyone here could help me with it I would really appreciate !
Well player global variables are capabilities. So you can use them.
Would it work in multiplayer though ?
Yes, player variables are individual for all players. Also they are synchronized. So you can display them whenever you want :)
Well only if you want, but could you help me a a bit with it ? :) If yes, then add my discord :Gargamilk.exe#3570