mojira.dev

Mark Aikens

Assigned

No issues.

Reported

No issues.

Comments

I still see this problem in 1.8.4. I had a horse entity that couldn't be targeted.

I have done a LOT of experimenting with this because it's causing me huge headaches and was originally posting under MC-73910, which may be related.

I found that when I /summon a villager, they sometimes cause all entities in the chunk to become untargetable when the chunk is unloaded. However, if I set "NoAI: 1" in the villager then the problem doesn't seem to happen.

So other entities may just become untargetable as a side effect of a villager in the same chunk. As a workaround for me, I just set all my villagers NoAI:1 and all my entities remain targetable 🙂

I wonder if this is the same as MC-65151. Pablo, did you have any villagers in the chunks where the entities went missing? I've found that villagers seem to mess up all entities in the chunk they're in when the chunk gets unloaded.

Yeah, I've seen that before too pablo (surely by accident! 🙂. This problem is happening for me for villagers & armor stands spawned using the normal (non-commandblock) way too.

I have noticed that this issue does seem to be chunk related. I spawned villagers in adjacent chunks and they were still able to be found by the @e selector. Villagers in that one chunk were consistently "lost". As a test, I deleted that chunk from the map using MCedit so that it would be regenerated. The regenerated chunk didn't appear to have the same problem. Maybe the chunk got corrupted somehow?

I'm attaching a screenshot of the "That entity cannot be found" error message resulting from the "/testfor @e" command

I wasn't able to reproduce the problem in a new world, but it happens all the time in a map I'm working on. I attached the map with all the redstone and stuctures erased. The problem reproduces almost every time by:

  • Pressing "Go to play area"

  • Press "Summon a Villager"

  • Press "Go to 0,0"

  • Press "Go to play area"

  • Press "Kill all villagers"

  • The villager doesn't die 😞

  • Running /testfor @e shows one "That entity cannot be found"

I'm experiencing the same issue on a map I'm creating with a similar layout (redstone at 0,0 and entities in a play area 10000 blocks away). Would it help to provide a test map that exhibits the problem?