Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-185729

Rarity cannot be overwritten in a resource pack for certain items

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.60.21 Preview, 1.21.50.22 Preview, 1.21.40.21 Preview, 1.21.30.24 Preview, 1.21.30.23 Preview, 1.21.30.25 Preview, 1.21.30
    • Confirmed
    • Multiple
    • 1291415

      Items which are affected by MCPE-169754 can no longer have their name color modified, either through "minecraft:rarity" or "minecraft:hover_text_color". Other items can be changed just fine, such as Tuff Bricks and Golden Apple.

      Prior to 1.21.30, these items worked fine with the minecraft:hover_text_color component.

      Sample Pack

      This sample resource pack demonstrates the issue using the following items.

      Item ID Is Affected By MCPE-169754? Component Intended Color Resulting Color Worked?
      enchanted_book No hover_text_color Light Purple Light Purple
      enchanted_golden_apple No hover_text_color Light Purple Light Purple
      golden_apple No hover_text_color Light Purple Light Purple
      kelp Yes hover_text_color Light Purple White
      music_disc_mall Yes hover_text_color Light Purple Yellow
      music_disc_ward Yes hover_text_color Light Purple Yellow
      wind_charge Yes hover_text_color Light Purple White

      This should also work using the minecraft:rarity component, but that is affected by a separate issue (see MCPE-185730), so only the minecraft:hover_text_color component was used for now.

      Expected Result

      All item rarities and hover text colors can be overwritten using resource packs, as it worked prior to 1.21.30.

      Observed Result

      Item rarities cannot be overwritten for items affected by MCPE-169754. This includes all the following items:

      • Music Discs
      • Wind Charge
      • Campfires
      • Kelp
      • Sugar Cane
      • Brewing Stand
      • Item Frames
      • Redstone Repeater
      • Redstone Comparator
      • Hopper
      • String
      • Cauldron
      • Cake
      • Nether Sprouts
      • Flower Pot
      • Chain
      • Warped Fungus on a Stick
      • Coal
      • Charcoal
      • Snowball
      • Arrows
      • Apple
      • Trial Keys
      • Wind Charge
      • Wolf Armor
      • Bundle (dyed and undyed)

      This also relates to MCPE-172710, another bug which only affects this group of items.

            AgentMindStorm2 AgentMindStorm2
            Votes:
            13 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: