Skip to content

Overlay Event

StrangeOne101 edited this page Aug 5, 2023 · 2 revisions

Overlay Event

Type: pokemon_overlay
Description: Draw extra layers on a pokemon
Properties:

  • layers (A list of overlay layers)

Layer Object

  • emissive (Boolean) - Whether the layer glows in the dark or not. Optional. Defaults to false.
  • texture (Resource Location) - The texture itself to overlay
  • color (Color) - The color to tint the texture. Optional. Defaults to WHITE (no color).
  • alpha (Float) - The alpha level of the texture to render. Optional. 0F is completely transparent, and 1F is completely opaque.
  • offset (Float) - The offset to render this texture. Higher values will render the texture away from the base model. Optional. Defaults to 0.

Color objects can be in the format of:

  • "0xRRGGBB" (hex string)
  • "#RRGGBB" (hex string)
  • 4360181 (integer)
  • (Expanded Object)
"color": {
    "red": 255,
    "green": 0,
    "blue": 0
}

Example

{
  "type": "pokemon_overlay",
  "conditions": [
    {
      "type": "pokemon",
      "spec": "species:Arceus"
    }
  ],
  "layers": [
    {
      "texture": "pixeltweaks:pokemon/493_arceus/all/base/none/eyes.png",
      "emissive": true
    }
  ]
}

Clone this wiki locally