1. Wiki
  2. /Items
  3. /minecraft:dyeable

minecraft:dyeable

Don't want to write this by hand? GodCraft sets minecraft:dyeable for you with a switch.Get GodCraft

Overview

minecraft:dyeable is an item component: it goes in the components object of a custom item. Lets players color the item with dye, the same way leather armor can be dyed in a cauldron or crafting grid.

Fields

FieldTypeDefaultDescription
default_colorColor255RGB[255,255,255]The color the item has before anyone dyes it.

Example

Inside the components object of BP/items/<name>.json (values are the defaults or placeholders):

BP/items/<name>.json
{
  "minecraft:dyeable": {
    "default_color": [
      255,
      255,
      255
    ]
  }
}

Items: Behavior pack

We use cookies to improve your experience and analyse site traffic. Learn more