mojira.dev
MCPE-51162

Magma cube aggression to iron golems broken

Link to video - https://youtu.be/7J-0tpTtF-8

 

Magma cubes AI is broken when it comes to attacking iron golems. Like slimes, they are supposed to be aggressive to iron golems and attack them when within range.

 

Currently, Magma cubes of all sizes show no aggression to iron golem, and even when the iron golem hits a magma cube and doesn't kill it, the magma cube will still not attempt to attack the golem.

Linked issues

Attachments

Comments 17

Still same issue on bedrock 1.16.0 Xbox One

Can confirm for 1.16.1. Magma cubes have no interest in iron golems at all. Slimes still aggro perfectly fine on golems however.

How difficult is it to fix bugs? It takes forever to fix the simplest of things! Just fix the magma cubes already!

Jonathan, the problem is everyone complains but no one is doing the coding digging to help the team out.

 

Now for this bug there is missing lines of code in the "minecraft:behavior.nearest_attackable_target" sub section.

https://www.twitch.tv/videos/704494373

 

Slimes:

"minecraft:behavior.nearest_attackable_target": {
"priority": 2,
"entity_types": [
{
"filters": {
"any_of": [
{
"test": "is_family",
"subject": "other",
"value": "player"
},
{
"test": "is_family",
"subject": "other",
"value": "snowgolem"
},
{
"test": "is_family",
"subject": "other",
"value": "irongolem"
}
]
},
"max_dist": 16
}
],
"must_see": true

Magma:

inecraft:behavior.nearest_attackable_target": {
"priority": 2,
"entity_types": [
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "player"
},
"max_dist": 16
}
],
"must_see": true

 

Affects 1.16.20.

Also affects 1.16.100.54.

7 more comments

The changes in the 1.18.0.24 changelog basically add this exact issue, but with regular slimes and snow golems. So instead of magma cubes not attacking iron golems no matter what, slimes no longer attack snow golems no matter what..? I don't see the logic with this or anything on the above report that mentions snowgolems/slimes having issues.

Playing in 1.18.0.24 Beta, and it seems while magma cubes are now hostile towards iron golems, they can't actually deal any damage towards the golem...

For slimes vs snow golems, please see the related issue MCPE-146651.

See MCPE-78718 for slimes/magma cubes not damaging other mobs

Prowl 8413

(Unassigned)

249868

Confirmed

Multiple

1.17.20.22 Beta, 1.17.10, 1.16.200.55 Beta, 1.16.200.53 Beta, 1.16.100.58 Beta, ..., 1.16.1, 1.16.40 Hotfix, 1.16.100, 1.16.201 Hotfix, 1.17.40

1.18.0.24 Beta, 1.18.0

Retrieved