mojira.dev
MC-304082

Commands don't work in random areas

I have been working on an adventuremap for quite a while, through many different versions of the game. I had to adjust commands multiple times because they were changed. This time, it’s different. I’m using repeat/unconditional/always active commandblocks with commands like “/execute at @e[type=minecraft:villager,name=Kumo] run tellraw @a[scores={VillagerClick=1},distance=..5,sort=nearest] [{"text":"<Kumo> ","color":"light_purple"},{"text":"I'm busy.","color":"white"}]” to make villagers speak when rightclicked, connected to a chain/conditional/always active commandblock with this command “/scoreboard players reset @a VillagerClick”. This worked perfectly fine for years. When I installed the new version, I was wondering if the commands had changed, because the villagers didn’t speak anymore. After doing more research, I found out that the commands still work for some of the villagers, but not all. Going down this path I couldn’t find any logical reason for this, because I used the exact same commands and types of commandblocks for all of them. I checked this at least multiple dozens of times. So I started teleporting around one of the villagers that didn’t speak anymore, only to see that it started working in some locations. The locations are entirely random and have nothing to do with the distance to the commandblocks (that are forceloaded anyways). This leads me to the only logical assumption: there is a bug creating some sort of “dead zone” where these commands simply don’t work. Even when I put a commandblock right next to the villager, it didn’t work – but only as long as it was reliant on the VillagerClick score. As soon as I removed that, it worked fine. Of course this won’t do me any good, since I need this specific scoreboard to track the rightclicks. I really hope this will be fixed because otherwise my years of work would’ve been for nothing.

Linked issues

Attachments

Comments 1

Please do not submit duplicate reports.

Leon Thiele

(Unassigned)

Unconfirmed

(Unassigned)

1.21.10

Retrieved