Split into words
Split a line into a list of its words, ready for a For each loop.
A Minecraft element (a value) in Commands. Needs the Basic plan or higher to go live; building and testing are free.
Example
When a player uses /tags → Split the line into words → For each word, add a tag.
Also called
split, words list, tokens, arguments list, explode
Works as a data pack?
No. This one needs the Elementium plugin on a Paper server.
What you give it
- Text
What it gives back
- Words
- Words