Affects Version/s: Minecraft 1.12 Pre-Release 2
Fix Version/s: None
Operating System: Windows 8.1 (amd64) version 6.3
CPU: 4x AMD A8-7410 APU with AMD Radeon R5 Graphics
Java Version: 1.8.0_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
When I saw the changelog, i got excited a new /function system was added and i quickly tried it on my own.
However, after some time realising what went wrong, /testfor can't detect entities, when a r= tag is present and it's being executed from an other item.
1. Place two repeating command blocks set to Always Active with these commands inside:
2. Drop a gold block and a golden apple on the same place.
3. Execute this command in chat:
After that, try increasing the number of the r=x argument's value.
It won't detect any items when x <= 4.