forked from BerndiVader/MythicSkriptAddon
-
Notifications
You must be signed in to change notification settings - Fork 0
Conditions
Yevhen Harasymchuk edited this page May 23, 2026
·
2 revisions
Conditions allow you to check the state of entities or objects to determine if they meet specific MythicMobs criteria.
Returns true if the checked entity is currently a valid MythicMob.
on damage of player:
if attacker instanceof activemob:
set {_am} to activemob of attacker
broadcast "You were attacked by %displayname of activemob {_am}%!"Returns true if the ActiveMob has died.
Returns true if the ActiveMob has the ThreatTable feature enabled in its configuration.
on damage of player:
if attacker instanceof activemob:
set {_am} to activemob of attacker
if activemob {_am} has threattable:
dropcombat for activemob {_am}Returns true if the ActiveMob was spawned by, and is still linked to, a MythicSpawner.
on mythicmob spawnevent:
if activemob event-activemob has mythicspawner:
set {_spawner} to mythicspawner of event-activemob
broadcast "Mob spawned by %spawner name of {_spawner}%"Returns true if the ActiveMob has an immunity table enabled.
Returns true if the specified ActiveMob belongs to the specified MythicSpawner.
Returns true if the given Skript itemstack matches a valid MythicItem defined in MythicMobs.
on right click:
if player's tool is a mythicitem:
send "You are holding a MythicItem!"Home
Documentation
Advanced Integrations