Categories
Ask Games Video Games

how to store position of a player as a variable?(minecraft java)

I am working on a project in which i need position of a player at any tick. i used the command: data get entity player_name Pos[0] data get entity player_name Pos[1] data get entity player_name Pos[2] but i want them to be stored as variables. how can i do that. And also if possible tell […]