I am playing on peaceful in a tower without any entities (items, mobs, animals, item frames, etc). I am surrounded by Stone Bricks, and Regular Glass Blocks, Wool, and Jungle Planks, Slabs, and Stairs , and the co-ordinates specified is on top of a 2x2 white wool surrounded by orange wool. And not that it matters, but the only things in this large room is a chandelier made of Iron Bars, Oak Fence, and Torches
My redstone setup is a leaver on a testfor command block which leads through a comparator into a lamp. Very simple setup.
testfor @e[x=-84,y=144,z=177]
testfor @e[-84,144,177]
The return of both of these commands returns more information then my chat can hold, but what is in my chat is:
[@: Found Zombie]
[@: Found Squid]
[@: Found Pig]
[@: Found Zombie]
[@: Found Squid]
[@: Found Pig]
[@: Found Squid]
[@: Found Zombie]
[@: Found Pig]
[@: Found Squid]
[@: Found Bat]
[@: Found Pig]
[@: Found Zombie]
[@: Found Witch]
[@: Found Squid]
[@: Found Spider]
[@: Found Pig]
[@: Found Pig]
[@: Found Spider]
[@: Found Skeleton]
[@: Found Sheep]
[@: Found Pig]x3
[@: Found Creeper]x3
[@: Found Pig]
[@: Found Creeper]
[@: Found Pig]
[@: Found Creeper]
[@: Found Creeper]
[@: Found Sheep]
[@: Found Pig]x3
[@: Found Sheep]
... and so on. Remember, I'm playing on peaceful at the top of a tower with no entities within at least 50 blocks.
And to better test this bug:
testfor @e[type=Creeper,x=-84,y=144,z=177]
returns 14 Creepers, even though I'm not only on Peaceful, but I'm only testing one point with no range
I also tested the same Creeper testfor with different range values and returned different results. 0-148 returns 0 Creepers. 149 returns 3 Creepers. 150+ returns more and more. However, 150 seems to go back and forth between 3 and 4. This makes me think that where ever these entities are, they're moving?
Comments 7
Duplicate or not, I noticed this bug and thought it would be best to report it even if it was a pain in the a** logging into JIRA for the first time.
Since then, I was able to rectify my particular issue, but the bug still remains.
I noticed without range or distance variables is was searching the whole map and not that specific point which I found very odd, since if you input your three coordinates you expect range to default to 0 not -1. Furthermore, I noticed that instead of a message saying "No Entities Found" it kept giving me a invalid UUID return which made me think this bug was much larger then what it was. Furthermore, I'm assuming that even on peaceful mobs are spawning either above y=255 or below bedrock, as that would answer why I was getting mob returns when typing in a range value beyond that scope.
Either way, this bug seems to be a compilation of at least 3 bugs within Minecraft 1.8.1 and (untested) before.
I'm not experiencing any of the hostile mobs on peaceful in 1.8.3. It seems that it is searching a preset radius from the x,y,and z arguments when you omit the r= argument, so unless you set r=0 or dx=dy=dz=0, it will search a predetermined radius around your specified point.
Is this still an issue in the current Minecraft Snapshot 15w47c 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.
Why is this a duplicate of MC-54095 ?
The latter is about wrong syntax and negative dx coordinates.