LXGaming / Sledgehammer

Smashes the stupid out of the client & server.
Apache License 2.0
16 stars 5 forks source link

Fix MC-88176 for 1.12.2 #21

Closed embeddedt closed 3 years ago

embeddedt commented 3 years ago

Reproduction steps for vanilla bug:

  1. Stand at Y=63 in a generally flat area.
  2. Summon an iron golem: /summon villager_golem ~ ~ ~ {NoAI:1}
  3. Stand one block away from the golem so that you are directly in front of/behind it.
  4. Look straight at the golem.
  5. Look straight up slowly.
  6. Observe that the golem disappears at certain angles.

I considered implementing some sort of cache for the bounding box adjustment, but there is no visible FPS impact on my very weak machine, so I don't think it's necessary.