Topic category: Help with Minecraft modding (Java Edition)
Hey, So i have this mod where i want to be able to send money to other players, how can i do that?, (i know its possible in the new version with commands, but i want to do it without commands):
what i want to do should look like that:
(x is the amount of money sent)
([Event/target Entity] is the player who send money)
Set [Global: Money] to (Get [Global: Money] - [x]) for entity: [Event/target Entity]
Set [Global: Money] to (Get [Global: Money]+[x]) for entity: [Name of Player who will recieve Money]
plus, i would like that to be possible with Block NBT Value:
Set [Global: Money] to (Get [Global: Money] - [x]) for entity: [Event/target Entity]
Set [Global: Money] to (Get [Global: Money]+[x]) for entity: [Player who's name is = to [Block text NBT: PlayerRecieve]]
Thanks\
Anyoneeee?