mojira.dev
MC-129393

Phantoms can get stuck in blocks

The Bug

The phantom mob keeps getting attracted to trees and flies into them, turns around, and repeats.

Steps to Reproduce

  • Build the setup as shown in the attachment below. setup.png

  • Set the time to "night" and summon a phantom on top of the diamond block.

  • Watch closely as it comes into contact with the polished granite walls.

  • Take note as to whether or not phantoms can get stuck and sometimes spin when attempting to avoid blocks.

Observed Behavior

Phantoms can get stuck and sometimes spin when attempting to avoid blocks.

Expected Behavior

Phantoms would not get stuck and would not sometimes spin when attempting to avoid blocks.

Linked issues

Attachments

Comments 28

Confirmed for 1.13.1, phantoms get stuck and distracted easily when in a dark forest.

Can confirm for 19w37a, but the wording of this report is kinda off. It's not really about trees specifically, this can happen with any block. Their path finding is just pretty crude so they get stuck on a lot of things.

Confirmed for 19w39a

Confirmed for 19w40a

In 19w42a

18 more comments

Can confirm previous comment seems to be the case. Also when flying upwards they end up stuck in blocks too and do not attempt to readjust. In 22w05a.

Can confirm in 1.18.2 and 22w19a. It might be worth clarifying that phantoms aren't getting stuck in blocks but rather on the edges of them. The current title is slightly misleading as it suggests the phantom suffocates inside blocks.

Can confirm in 1.19.

still an issue in 1.19.4 and 23w12a

Added video for: 23w12a

J. A

(Unassigned)

Confirmed

Gameplay

Low

Mob behaviour

pathfinding

Minecraft 18w19b, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w45a, Minecraft 18w46a, ..., 1.19, 1.19.4, 23w12a, 1.20.1, 1.21.4

Retrieved