Skip to content

Classes and Types

Yevhen Harasymchuk edited this page Jul 29, 2026 · 1 revision

MythicSkriptAddon registers the following custom Skript types.

Type Description
activemob A live MythicMob instance currently spawned in the world.
mythicmob A configured MythicMob type/blueprint.
mythicspawner A MythicMobs spawner.
skilldata Metadata for a skill execution: caster, trigger, origin, targets, and power.
dropdata Metadata supplied while MythicMobs calculates a custom drop.
lootbag Physical items and non-item rewards in a loot-drop event.
mythicitem A configured MythicMobs item type.
mobdrop The mutable collection of death-event item drops.
mobitem One entry inside a mobdrop.
skilltargeter A parsed MythicMobs targeter such as @PIR{r=30}.
activeplayer Internal wrapper that lets an entity cast a MythicMobs skill.
colordata An RGB/ARGB color accepted by named skfunction parameters.

String and Variable Representations

  • activemob prints its MythicMob type name and uses the active mob UUID for variable serialization.
  • mythicmob prints its configured internal name.
  • mythicspawner prints its configured internal name.
  • colordata prints a hexadecimal color and can be stored in Skript variables.
  • skilltargeter prints the underlying MythicMobs selector class name.

colordata

The type can be parsed from:

  • #RRGGBB or RRGGBB
  • #AARRGGBB or AARRGGBB
  • R,G,B, where each channel is between 0 and 255
  • a Bukkit DyeColor name such as RED or LIGHT_BLUE

It implements Skript's color interface, so it can be passed to syntax that accepts a Skript color. See Custom Mechanics.

Clone this wiki locally