mojira.dev
MC-313821

Frost Walker no longer works on mobs when the `mob_griefing` game rule is set to false

This issue was introduced in 26.4 Pre-Release 1, by the fix of MC-313298.

Frost Walker no longer works in mobs when the /gamerule mob_griefing is set to false. (Although interestingly, it does still work on mannequins.)

This may be intended, but it was not a documented change (and, along with the aforementioned fix, is arguably not a desirable one either) so I am reporting it just in case.

To reproduce

  1. /gamerule mob_griefing false

  2. /summon minecraft:pig ~ ~ ~ {equipment:{feet:{id:iron_boots,components:{enchantments:{frost_walker:2}}},saddle:{id:saddle}}}

  3. Grab a carrot on a stick

  4. Lure or ride the pig into a rover or ocean
    Frost Walker does not work

Expected behavior

Given that mob_griefing is mostly utilized for the impacts on creepers and endermen, I personally would not expect it to interfere with more desirable behaviors like this and blue-ice sulfur cubes, even though it is in a sense correct.

Survival impact

Since Frost Walker is a treasure enchantment, and since mobs can’t pick up items with this game rule disabled (MC-3370) the survival impact of this change is limited to armor equipped on supported mobs via dispenser (see also MC-190027).

My own thoughts

It really is high time to give players more granular control over these behaviors. At present I would favor changing the game rule from a boolean to an int (or long), supporting 16 (or 32) different mob toggles in a single game rule, and with a special section in the Game Rules screens to allow for changing them, but perhaps there is a better solution.

Linked issues

Attachments

Comments 1

26.4 Snapshot 10:

[media]

26.4 Pre-Release 1:

[Mod] clamlol

(Unassigned)

Confirmed

26.4 Release Candidate 1

Retrieved