mojira.dev
MC-313375

Armadillo scutes are consumed without repairing wolf armor that has a maximum durability below eight

The Bug:

Armadillo scutes are consumed without repairing wolf armor that has a maximum durability below eight.

An anvil repairs such wolf armor with an armadillo scute. However, using an armadillo scute on a wolf wearing such armor consumes the scute and plays the repair sound while the armor keeps its damage, therefore introducing an inconsistency.

Steps to Reproduce:

  1. Tame a wolf, make it sit, and obtain an armadillo scute.

  2. Obtain damaged wolf armor with a maximum durability of seven by using the command provided below.

    /give @s minecraft:wolf_armor[minecraft:max_damage=7,minecraft:damage=1]
  3. Put the wolf armor on the wolf, then switch to survival mode and use the armadillo scute on the wolf.

  4. Check the armor's damage by using the command provided below.

    /data get entity @n[type=minecraft:wolf] equipment.body
  5. Observe if the scute is consumed while the armor's damage stays at 1.

Observed Behavior:

The scute is consumed and the repair sound plays, but the armor keeps its damage.

Expected Behavior:

The scute would repair the armor, just like when it is used in an anvil.

Attachments

Comments 1

Avoma

(Unassigned)

Unconfirmed

26.3, 26.4 Snapshot 10

Retrieved