-
Notifications
You must be signed in to change notification settings - Fork 2
Overlay Event
StrangeOne101 edited this page Aug 5, 2023
·
2 revisions
Type: pokemon_overlay
Description: Draw extra layers on a pokemon
Properties:
-
layers(A list of overlay layers)
-
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
}{
"type": "pokemon_overlay",
"conditions": [
{
"type": "pokemon",
"spec": "species:Arceus"
}
],
"layers": [
{
"texture": "pixeltweaks:pokemon/493_arceus/all/base/none/eyes.png",
"emissive": true
}
]
}