You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Testing numbers with the data command is always a bit tedious. I was thinking that this could be simplified using the same interface as for scores.
Proposition
The assert data command could be expanded to also support matches with float ranges and operators like for the score version. This would of course only work with numbers.
Edit: i spotted a small mistake in the readme. (checks NBT data using the same syntax as execute if score) should atm be (checks NBT data using the same syntax as execute if data)
The text was updated successfully, but these errors were encountered:
Description
Testing numbers with the data command is always a bit tedious. I was thinking that this could be simplified using the same interface as for scores.
Proposition
The assert data command could be expanded to also support
matches
with float ranges and operators like for the score version. This would of course only work with numbers.Example:
Edit: i spotted a small mistake in the readme. (checks NBT data using the same syntax as execute if score) should atm be (checks NBT data using the same syntax as execute if data)
The text was updated successfully, but these errors were encountered: