Read a number
Read text as a number such as 2.5, kept between a lowest and highest if you set them.
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 /speed → Read a number from the line, 0 to 5 → Set walk speed.
Also called
number argument, decimal, parse number, amount, convert text to number
Works as a data pack?
No. This one needs the Elementium plugin on a Paper server.
What you give it
- Text
- Lowest
- Highest
What it gives back
- Value
- Worked
- Problem