mojira.dev
MC-312789

Projectiles shot by mobs can break minecarts and boats when the `mob_griefing` game rule is set to false

The Bug:

Projectiles shot by mobs can break minecarts and boats when the mob_griefing game rule is set to false.

When the mob_griefing game rule is set to false, projectiles shot by mobs cannot damage armor stands, item frames, paintings, or dropped items, and explosions caused by mobs cannot break minecarts or boats. However, arrows, fireballs, and other projectiles shot by mobs can still break minecarts and boats, therefore introducing an inconsistency.

Steps to Reproduce:

  1. Set the mob_griefing game rule to false by using the command provided below.

    /gamerule mob_griefing false
  2. Place a bunch of boats down on the ground.

  3. Summon a wither using the command provided below.

    /summon minecraft:wither
  4. Dodge the wither skulls so that they hit the boats.

  5. Observe if the boats are destroyed.

Observed Behavior:

Projectiles shot by mobs can break minecarts and boats when the mob_griefing game rule is set to false.

Expected Behavior:

Mob projectiles would not be able to break minecarts and boats when the mob_griefing game rule is set to false.

Linked issues

Attachments

Comments 2

Avoma

(Unassigned)

Unconfirmed

Mob behaviour, Projectiles

26.3, 26.4 Snapshot 5

Retrieved