Ich weiß nicht wo hin mit dem Post (gibt es eine Kategorie für Bugs etc.?
NPC's getting on a roof is because the npc can get into a place withing 4 blocks, but the pathfinding is sometimes a little glitchy and it will walk into a place were it is withing 4 blocks, so it will teleport to the roof. So yes better pathfinding is really a thing we really need
Ich glaube, das wird wohl auch mit dem zusammenhängen was TrueNordSurvivaler hier erklärt.