mojira.dev
MC-261124

"Decimal point" affects spawn location when use /summon.

"/summon" command caused different spawn locations depending on whether there was a decimal point or not, likely due to differences in the number type. An example is demonstrated using armor stands in the following file. When there is a decimal point, the armor stand is positioned in the middle of the block, but when there is no decimal point, it is positioned in the center of the block.

Attachments

Comments 1

This is probably by design and has been the case since the addition of commands, coordinates default to .5 in order to center on the block; adding a decimal marker without any decimals is the same as writing .0
Does seem a bit odd though that only a marker forces that change in behavior.

niwatori

(Unassigned)

Confirmed

Commands

1.19.4

Retrieved