-
Bug
-
Resolution: Unresolved
-
None
-
1.19.4, 23w14a, 1.20.4, 23w51b, 1.21, 24w44a, 1.21.3
-
None
-
Confirmed
-
Hitboxes
-
Normal
-
Platform
When a hitbox goes over several chunk sections, you can no longer interact with it properly after a certain point.
Affected entities
- Ender dragon (see
MC-158205) - Entities with a large generic.scale attribute
- Interaction entities
- Huge slimes
- Giants
To reproduce
- Summon an interaction entity:
/summon minecraft:interaction ~ ~ ~ {Tags:["intr"],height:33}
- Place a repeating command block chain with the following commands:
execute as @e[tag=intr] if data entity @s attack.player as @a at @s run playsound minecraft:block.note_block.banjo block @s execute as @e[tag=intr] run data remove entity @s attack
- Enable F3+B to see the hitbox of the interaction entity.
- While looking at the interaction entity, attack it near the top.
Expected behaviour
When hitting the interaction entity, it should always play a sound.
Observed behaviour
No sound is played when the interaction entity is hit at the top.
Video
This video showcases the issue with giants and large slimes.
In the video, the vertical chunk section change is marked with purple particles.
https://youtu.be/SxYdbqZcstM
Note
It also seems that there is a difference between projectiles, player hitting and movement collision checks. For example, you can hit a mob, but an arrow can't hit it at the same point.
Code Analysis
A code analysis by insane96mcp for this issue happening with the ender dragon specifically can be found in this comment in MC-158205, although it is entangled with another unrelated code issue.