1. Wiki
  2. /Entities
  3. /minecraft:is_dyeable

minecraft:is_dyeable

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

Overview

minecraft:is_dyeable is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Lets players use dye on the entity to change its color, like a wolf collar.

Fields

FieldTypeDefaultDescription
interact_textStringnoneButton text shown on touch screens when holding a dye near the entity.

Example

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

BP/entities/<name>.json
{
  "minecraft:is_dyeable": {
    "interact_text": ""
  }
}

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