[MC-9424] CommandBlock Radius falls into SW rule. Created: 08/Feb/13  Updated: 29/Dec/17  Resolved: 19/May/13

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Snapshot 13w06a, Minecraft 1.7.4, Minecraft 14w02c
Fix Version/s: None

Type: Bug
Reporter: DDRKhat Assignee: Unassigned
Resolution: Invalid Votes: 1
Labels: block, command, command_block
Environment:

Windows 7 (64x)
Ubuntu 12.04 (32x)


Attachments: PNG File 2013-02-08_21.47.40.png    
Confirmation Status: Unconfirmed

 Description   

The CommandBlock's Radius checking seems to follow into the pattern of the South-West rule, I was testing some ideas such as a "Respawn Countdown" idea and found this oddity.

I have 2 command blocks set up in a 16-tick loop with the following commands;
/scoreboard players remove @a[r=3,x=355,y=64,z=-180,score_Countdown=10,score_Countdown_min=0] Countdown 1

/scoreboard players set @a[r=3,x=355,y=64,z=-180,score_Countdown=0] Countdown 10

I found that depending on where I was stood within the area, I would not decrease in my count-down. I investigated into the Diamond shape radius check but have found that it's not fully diamond...

In the provided Screenshot, if my feet were at the RED location. my "Countdown" would not decrease.
If I stood in the GREEN location. My "Countdown" will. The green is FURTHER than the red, and the centre is not changed between loops.
The white/grey wools are a radius guide, inbetween the DARK grey is the "Black" which is the origin of the radius check.

For the record, NEITHER location SHOULD decrease the "Countdown"



 Comments   
Comment by DDRKhat [ 20/May/13 ]

I swear I had made the post but apparently not.
This is still an issue even in the current latest version.

Comment by Tails [ 19/May/13 ]

No anwer on querry, assuming no longer an issue.

Comment by Tails [ 07/Apr/13 ]

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Comment by DDRKhat [ 08/Feb/13 ]

Decimals completely breaks it. Upon giving any of the co-ordinates in question a decimal it did nothing to the player within the radius (even if stood upon the very centre)

Comment by Jonathan Haas [ 08/Feb/13 ]

Are you sure you did this correctly? A coordinate like x=355,y=64,z=-180 will always be on the edge of a block. For example if you use F3 and stand in the middle of a block you will get a "something.5" x and z coordinate.

Generated at Sun Jan 12 12:21:01 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.