mojira.dev
MC-295884

positive values in item default dye tint values don't work

When the default tint value for dye is positive, the layer becomes invisible.

This makes it slightly unintuitive to copy over the normally positive number that would be associated with the desired dye color.

Steps to reproduce:

  1. Download and use the resource pack

  2. Spawn in the item below

  3. /give @p minecraft:music_disc_blocks[
      !minecraft:jukebox_playable,
      minecraft:item_name={"text":"Dye Test"},
      minecraft:item_model="minecraft:dye_test",
      minecraft:equippable={
        slot: "head",
        asset_id: "minecraft:dye_test"
      }
    ]
  4. Notice that the tint layer does not show

If you go to [assets/minecraft/items/dye.test.json] you will be presented with the following where you can change the number and see that only negative values work.

{
  "model": {
    "type": "minecraft:model",
    "model": "minecraft:item/dye_test",
    "tints": [
      {
        "type": "minecraft:dye",
        "default": -14558758
      }
    ]
  }
}

Environment

Windows 10

Linked issues

Attachments

Comments 1

Thank you for your report!
We're tracking this issue in https://report.bugs.mojang.com/servicedesk/customer/portal/2/MC-278626 , so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines -- 💬 Community Support -- 📧 Mojang Support (Technical Issues) -- 📧 Microsoft Support (Account Issues) -- ✍️ Feedback and Suggestions -- 📖 Game Wiki

Daisy Eseyad

(Unassigned)

Unconfirmed

(Unassigned)

1.21.5

Retrieved