One issue with mapmaking in Minecraft, is that NBT data can only be checked for an exact match when it comes to numerical values.
For instance, if you were to check for a mob's remaining FireTick time, you could easily check if it's NOT on fire {Fire:-1s}, run a supplementary command to determine if it IS on fire (usually by running a scoreboard tag, and then removing it if the mob is not on fire) ... but anything beyond that, is very difficult.
If you wanted to know a range of HOW much fire ticks are left on a mob (how long it will burn for), the only real way to do this is to make commands to test for every possible FireTick outcome.
{Fire:300s}
{Fire:299s}
{Fire:298s}
{Fire:297s}
{Fire:296s}
{Fire:295s}
...etc
If Mojang could add the ability to define a range to test for, and have that range parsed for a match, it would save dozens of commands being run in order to match a range of NBT.
This is a mapmaking/command suggestion that I hope will be implemented, to make command block and function customization easier in future.
Subreddit
Post Details
- Posted
- 7 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/minecraftsu...