Mojira Archive
MC-275497

The repairable data component does not exist in armor items by default

The bug:

In 24w33a the repairable components can be found in tiered tools, mace and elytra. But component count increased after I add the component to armors, wolf armor, and shear.

Steps to reproduce:

  1. Give yourself a diamond helmet, and give yourself another repaired with diamonds:
    /give @s diamond_helmet[minecraft:repairable={items:"minecraft:diamond"}]
  2. Compared with each other

Observed Behavior:

The latter item has more components.

Expected Behavior:

Both diamond helmets have the same number of components.

or

Steps to reproduce:

  1. Give yourself a damaged diamond helmet that is not supposed to be repairable
    /give @s diamond_helmet[!repairable,damage=100]
  2. Attempt to repair it with diamonds in an anvil

Observed Behavior:

You can repair the diamond helmet with diamonds.

Expected Behavior:

You cannot repair the diamond helmet with diamonds.

Fixed

CaN2crow987

[Mojang] Gegy

2024-08-17, 09:16 AM

2024-08-30, 03:47 PM

2024-08-30, 03:47 PM

1

1

Confirmed

Normal

Platform

Commands, Data Packs

24w33a, 24w34a

24w36a