When drone picks up an entity, it acts like the entity it picked up.
yigitabi5444 opened this issue · 3 comments
Sevtech Ages
1.12.2
Forge 1.23.4.2707
pneumaticcraft-repressurized-1.12.2-0.6.6-192
when a drone picks up an entity, it stops following the program and it acts like the entity it picked up.
How to Reproduce:
program a drone to pick up a cow and go somewhere
after the drone picks up the cow, it stops
if you get close to it with wheat, it starts following you
İf you tell it to pick up zombies, it starts attacking you after it picks up a zombie
But the drone picks up players without a problem.
This is fixed in the next version. It turns out that riding entities override the Drone's pathfinding (except for players because they off course do not have AI). We have a feeling this behaviour was introduced in Vanilla, possibly for horse/spider jockey handling maybe.
It is fixed now to preventing the entity from overriding the pathfinding.
Strange. I tested with a drone picking a cow up, and although it didn't behave like the cow, it didn't work either - once the cow became a passenger, the drone just stopped (next piece in the program was a "Go To Location").
The Go To Location didn't execute because it believed the drone had no path to the destination (which it did - it was really close). Is having a passenger somehow messing with the drone's pathfinding? Investigating...