Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 137
    • Issues 137
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Wiki
    • Skills
    • Mechanics
  • stun

Last edited by Lxlp Nov 30, 2024
Page history
This is an old version of this page. You can view the most recent version or browse the history.

stun

Descritpion

Holds the target in place temporarily.

This mechanic can cause Spigot to kick the player (PlayerName moved wrongly!)

Attributes

Attribute Aliases Description Default Value
duration d The duration (in ticks) the stun will last
stopai ai Removes entity AI while stunned false
gravity g Remove gravity from target when stunned (1.9+) false
facing face, f When false, entity cannot rotate or look around when stunned false
noknockback nokb, kb When true, entity cannot be knocked back when stunned false
CancelOnGiveDamage cogd Cancels the stun if the entity with the stun deals any damage to another entity. false
CancelOnTakeDamage cotd Cancels the stun if entity with the stun takes any sort of damage. false
CancelOnDeath cod Cancels the stun if the entity with the stun dies. true
CancelOnTeleport cot Cancels the stun if the entity with the stun teleports at all whether by another mechanic or server command. false
CancelOnChangeWorld cocw Cancels the stun if the entity with the stun changes worlds. (Most times applies to players) false
CancelOnSkillUse cosu Cancels the stun if the entity that is stunned uses another skill while the stun is active. false
CancelOnQuit coq Cancels the stun if the entity with the stun logs out. (Only really applies to players) true

Examples

Stuns the target for 3 seconds, target cannot rotate.

ExampleSkill:
  Skills:
  - stun{d=60;f=false} @target
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
FAQ / Common Issues
Guides
Troubleshooting
Mythic Add-ons
Compatible Plugins
API Information
Packs
  • Pins
Mobs
  • Mob Options
    • Display Options
  • Mob Levels
  • Mob Factions
  • Power Scaling
  • Damage Modifiers
  • Equipment
  • BossBar
  • Custom AI
  • Custom Kill Messages
  • Threat Tables
  • Immunity Tables
  • Templates
  • Vanilla Overrides
  • Extra: Disguises
  • Extra: ModelEngine
Skills
  • Mechanics
  • Targeters
    • Filters
  • Triggers
  • Conditions
    • In-line conditions
  • Metaskills
  • Placeholders
  • Variables
Items
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers
  • Firework
Drops & DropTables
  • Drops
  • DropTables
  • FancyDrops
Spawning
  • Spawners
  • Random Spawns
Stats
  • Custom Stat Options
  • Modifiers
  • Built in Stats
Technical
  • Math
  • Operations
    • Attribute Operations
    • Stats Modifiers
  • Particles Types
  • Audience
  • Equipment Slots
Examples
Useful Tips