Details
-
Type:
Bug
-
Status: Resolved
-
Resolution: Fixed
-
Affects Version/s: 20w08a, 20w09a, 20w10a
-
Fix Version/s: 20w11a
-
Labels:None
-
Confirmation Status:Confirmed
-
Category:Mob behaviour
-
Mojang Priority:Important
Description
The bug
Hoglins can't hit some mobs with larger hitboxes. Instead, they push their enemies and never hit them. They may hit those mobs if they attack in a group. Probably due to their attack range being very low that they need to get closer to their enemies.
How to reproduce
- Summon a ravager withthe tags NoAI UUIDLeast and UUIDMost.
- Summon a hoglin
- Summon a snowball above the hoglin with the owner tag, which the L and M should be the same as the ravager
→The hoglin charges at the ravager and tries to attack the ravager, but instead pushes the ravager.
Mobs that hoglins can't hit
- Iron golem (Sometimes)
- Ravagers
- Elder guardians
- Slimes/Magma cubes/Phantoms (Size 3 or above)
- Ghasts
- Giants
- Polar bears (Somtimes)
- Any mountable mobs except for pigs and llamas (Sometimes)