I recently seen attributes called append, prepenc, insert etc. in the /data modify command, i wonder if they can be used for text editing.
This would be great for programming in minecraft, allowing you to edit commands of a command block with tellraw commands to not only display numbers dynamically but also text.
I dindn't jump into 1.14 yet but if something like this is possible, I would immediately!
We cant edit text, but as long as there're numbers, we can edit them with the /data merge! I just discovered it was even possible to set the enchantment level of an item in a container as a player score (so player with 10 score will make the chest item sharpness 10, for example)
I'm pretty sure will be very useful!
Rollback Post to RevisionRollBack
I got into chiptune music composition.
You can listen to them on my Youtube channel : https://www.youtube.com/channel/UCjWYbJGk7nvNDbnCvMlZGkw
Descriptions are in french, you'd just need some google translation copy-paste...
Also made some more or less complicated datapacks, shared here (planetminecraft).
I recently seen attributes called append, prepenc, insert etc. in the /data modify command, i wonder if they can be used for text editing.
This would be great for programming in minecraft, allowing you to edit commands of a command block with tellraw commands to not only display numbers dynamically but also text.
I dindn't jump into 1.14 yet but if something like this is possible, I would immediately!
We cant edit text, but as long as there're numbers, we can edit them with the /data merge! I just discovered it was even possible to set the enchantment level of an item in a container as a player score (so player with 10 score will make the chest item sharpness 10, for example)
I'm pretty sure will be very useful!
I got into chiptune music composition.
You can listen to them on my Youtube channel :
https://www.youtube.com/channel/UCjWYbJGk7nvNDbnCvMlZGkw
Descriptions are in french, you'd just need some google translation copy-paste...
Also made some more or less complicated datapacks, shared here (planetminecraft).