Note pad datapack
hello, im Moka, first sorry if my english is not that well, its not my first languaje. Well... I want to make a Minecraft datapack that contains coordinate notes, but the thing is that I need it to be manual, that with a command I put /add "name of the place" ~ ~ ~ (which will be the coordinates that I want , not the ones I'm standing on) from there, if I want to see the ones I have saved, put /coords, a list will appear with each one and its coordinates, at the same time I want to be able to edit with a command that is like /edit_coords (and that a list of each name I have saved will appear) then delete true or false will appear.
e.g. I am standing in a village and I want to save the coordinates, so I put in the chat: /add "Village 1" 20 30 78 (it is an example of coordinates)
and from there I press enter and "saved coordinate" appears
Then if I want to see the list, put in the chat: /coordinates and when I press enter it appears: ====| Coordinates |====
- Aladea 1 | 20 30 78
and then if I want to delete any saved coordinates: /edit_coords (I see a list of all the names of the saved coordinates) Village 1 (I see the delite option) delite (then a true or false to confirm) true.
but i cant make ir work. idk why. i have the base of the thing but it does not appear in the /function my comands, and when it a appear (that at one point they did) i couldnt make the /function add (comand to add a place to work) if someone can help me i will be glad. im very starting in the programing world.
thanks