#Save data on the player in 1.21
9 messages · Page 1 of 1 (latest)
How are you storing the mana right now?
mixin in entity class
like this
I think that this is missing a few things to make it work. In any case you should probably use an API for this to make your life easier. Fabric API has the data attachment api and there is also cardinal components api. Both of which should have support for proper persistence
I have tried to use both and failed miserably
is there a tutorial for the data attachment api?