mojira.dev
MC-75840

Radius selector @e[r=1] doesn't work like it should

If you use the @e[r=1] on an entity the radius wouldn't testfor anything below the entity.

Example:
/execute @p ~ ~ ~ testfor @e[r=1,type=Silverfish]
If you now run this command while standing 1block above a Silverfish the command will return: "Failed to execute 'testfor @e..."

If you have a look at the picture below you can see marked with red glass the area that get's checked and in green the area that I would expect to be checked using the r=1 on an silverfish.

On the left you can see 2 silverfish and the bottom one can detect the one above but not the other way round.

All the above works the same for every entity.

Attachments

Comments 2

Is this still an issue in the current Minecraft Snapshot 15w46a or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Ticket resolved as incomplete, because no answer in a reasonable amount of time (1+ year), if it still happens, please update the ticket.

stonyredfiction

(Unassigned)

Unconfirmed

Minecraft 1.8.1, Minecraft 1.8.2-pre1

Retrieved