Add option to toggle integer centering in LocationArgument and Location2DArgument #487
Labels
enhancement
New feature or request
implemented for next release
This has been implemented in the current dev build for the next public release
Description
Currently, the CommandAPI's
LocationType.PRECISE_POSITION
usesVec3Argument.vec3()
. This causes integer values to be centered, which may not always be desired. It seems that theVec3Argument
has a boolean option called "centerIntegers" that determines whether or not it performs the correction.It would be beneficial to utilize this option, allowing for straightforward offset arguments that accept three numbers without any modifications. This enhancement would align with the behavior of the delta argument in the vanilla particle command.
Expected code
No response
Extra details
A temporary workaround for developers who ran into the same issue:
The text was updated successfully, but these errors were encountered: