generated from FabricMC/fabric-example-mod
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
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:
assert data storage foo bar matches 1.5..1.6
assert data storage foo bar < storage bar bazEdit: 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)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request