Are you testing within an area of the command block? Make sure when you test you are in coordinates that are in the positive direction away from.the command block
Right, I understand getting rid of it because it wasn't necessary and can be performed almost always with execute. In 1.14 can you try running this in your CB.
execute if entity @a[distance=..10] .and verofy that detects up to 10 blocks around your.command block?
Hello ^^
I've got a problem with commando blocks under Minecraft 1.14.4
I try to detect a player on a specific coordinate, if the player is detected the commando block activates a redstone signal.
Currently I run this conmand:
execute if entity @a[dx=10,dy=122,dz=193]
It only works very unreliable, sometimes 20 blocks away sometimes it won't work at all
Can someone help?
Are you testing within an area of the command block? Make sure when you test you are in coordinates that are in the positive direction away from.the command block
In the past I was using the "testfor" command to detect players on a specific coordinate.
But since Mojang removed this useful command my Minecraft World basically ceased to work (at least most of my Redstone circuits).
I'm still angry about this at Mojang...
With the command I wrote above I try to replace that function, but it's a mess...
I really need help with this ^^°
Right, I understand getting rid of it because it wasn't necessary and can be performed almost always with execute. In 1.14 can you try running this in your CB.
execute if entity @a[distance=..10] .and verofy that detects up to 10 blocks around your.command block?
That's strange. It works.
I found out that it no longer works when the command block is set to "always active" (with testfor this worked perfectly).
If I connect a Redstone clock to it, it works...
Ok that's a solution I can live with, but why doesn't the" always active" function work here anymore?
Is the always active in an impulse command block or a repeating command block?
I think I know your issue here. Commands are not always loaded into the game. They only load in if a player is near them.
However, there is a way around this. You will need to set a ticking area at the command block.
A ticking area basically sets a group of chunks to always be loaded even if nobody is around.
Use the command /tickingarea