Details
-
Bug
-
Status: Open
-
Resolution: Unresolved
-
Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2 Pre-Release 2, Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w43b, Minecraft 17w45a, Minecraft 17w45b, Minecraft 17w46a, Minecraft 17w47a, Minecraft 17w47b, Minecraft 17w48a, Minecraft 17w49a, Minecraft 17w50a, Minecraft 18w01a, Minecraft 18w02a, Minecraft 18w03b, Minecraft 18w05a, Minecraft 18w06a, Minecraft 18w07c, Minecraft 18w14a, Minecraft 18w14b, Minecraft 18w15a, Minecraft 18w16a, Minecraft 18w19a, Minecraft 18w19b, Minecraft 18w20b, Minecraft 18w20c, Minecraft 18w21a, Minecraft 18w21b, Minecraft 18w22a, Minecraft 18w22b, Minecraft 18w22c, Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13-pre4, Minecraft 1.13-pre5, Minecraft 1.13, Minecraft 18w30a, Minecraft 18w30b, Minecraft 18w31a, Minecraft 18w32a, Minecraft 1.13.1, Minecraft 1.13.2-pre1, Minecraft 1.13.2, Minecraft 19w03c, Minecraft 19w04b, Minecraft 19w08b, Minecraft 19w09a, Minecraft 19w12b, Minecraft 19w13a, Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 3, Minecraft 1.14 Pre-Release 4, Minecraft 1.14 Pre-Release 5, Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 3, 1.14.4, 19w34a, 19w35a, 19w40a, 1.15, 1.15.1, 1.15.1 Pre-release 1, 1.15.2 Pre-release 2, 1.15.2, 20w06a, 20w07a, 20w09a, 20w10a, 20w16a, 20w18a, 20w21a, 1.16.1, 1.16.2, 1.16.4, 20w48a, 20w51a, 21w03a, 21w05b, 21w06a, 21w11a, 21w15a, 21w17a, 1.18.1, 22w03a, 1.18.2, 1.19 Release Candidate 2, 1.19
-
None
-
Confirmed
-
Mob behaviour
-
Normal
Description
The bug
When a skeleton targets someone from a height, they just keep looking forward instead of up at their target.
Example
The fix
Note: The following is based on a decompiled version of MC 1.15.2
The problem is located at net.minecraft.entity.ai.goal.RangedBowAttackGoal.java within the updateTask() function.
The problem can be fixed by doing what's in the fixed code image below, the highlighted text in the image reads:Â
this.entity.getLookController().setLookPositionWithEntity(livingentity, 30.0F, 30.0F);
Attachments
Issue Links
- is duplicated by
-
MC-108994 Skeleton will not move head up or down when aiming to shoot.
- Resolved
-
MC-160174 Skeletons do not look the targets when shoot arrows
- Resolved
-
MC-195831 Skeletons Don't look up
- Resolved
-
MC-197002 Skeletons don't aim their bows Properly
- Resolved
-
MC-198995 Mobs that can use bows don't tilt their heads/arms vertically when shooting
- Resolved
- relates to
-
MC-181937 Vexes don't look up or down when looking at their targets from a distance
- Open
-
MC-96138 Skeletons do not rotate when shooting but only when moving
- Reopened
-
MC-120955 Skeletons body doesn't rotate like players when strafing
- Reopened
-
MC-172428 Piglins and hoglins don't look at their target
- Resolved