Skip to content

Classes

Yevhen Harasymchuk edited this page May 23, 2026 · 1 revision

Classes and Types

MythicSkriptAddon introduces several custom types to Skript, allowing you to seamlessly interact with MythicMobs objects inside your scripts.

Registered Types

Type Name Description
activemob Represents a live, spawned MythicMob instance in the world.
mythicmob Represents a static MythicMob blueprint/type configuration (e.g., from your mob YML files).
mythicspawner Represents a custom MythicMobs spawner object.
skilldata Contains metadata about a currently casting skill (caster, trigger, targets, power, etc.).
dropdata Contains metadata about a drop process (dropper, amount, generations, etc.).
lootbag Holds physical items and intangible rewards during a drop event.
mythicitem Represents a custom item defined in MythicMobs item configuration files.
mobdrop A collection wrapper for item drops during a mob's death event.
mobitem Represents an individual item within a mobdrop collection.
skilltargeter Represents a compiled targeter instance from MythicMobs (e.g., @PIR{r=30}).
activeplayer A utility wrapper treating a regular player as a MythicMobs skill caster.

Type Details & Variable Names

When storing these types in variables or printing them out, they return specific representations:

  • activemob: Returns the internal name of its MythicMob type, while its unique ID (UUID) is used behind the scenes for variables.
  • mythicmob: Returns its configured internal type name.
  • mythicspawner: Returns its configured internal name.
  • skilltargeter: Can identify as either EntitySelector, LocationSelector, or ConsoleTargeter.

Clone this wiki locally