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

minecraft:color2

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

Overview

minecraft:color2 is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Stores a second color number, used by entities with two color layers such as tropical fish.

Fields

FieldTypeDefaultDescription
valueInteger"0"Second color number from the 16 color palette.

Example

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

BP/entities/<name>.json
{
  "minecraft:color2": {
    "value": "0"
  }
}

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