Coming soon - Get a detailed view of why an account is flagged as spam!
view details
7
[Mapmaking/Commands]Please add the option to allow NBT to be parsed.
Author Summary
Redmag3 is in Mapmaking/Commands
Post Body

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.

Author
Account Strength
100%
Account Age
10 years
Verified Email
Yes
Verified Flair
No
Total Karma
13,212
Link Karma
3,010
Comment Karma
10,182
Profile updated: 3 days ago
Posts updated: 10 months ago
Redstone

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
7 years ago