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
  • velocity

velocity · Changes

Page history
Reorganized the example section for better clarity authored Feb 20, 2023 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 12 additions and 3 deletions
+12 -3
  • skills/mechanics/velocity.md skills/mechanics/velocity.md +12 -3
  • No files found.
skills/mechanics/velocity.md
View page @ f1f3dcfa
......@@ -22,10 +22,19 @@ Examples
This example will stop all momentum of the casting mob upon taking
damage. The effect will only last until the mob decides to move again or
is moved by other sources.Note that mobs with this skill can still be knocked
back by bow's enchantment: ARROW_KNOCKBACK, this can be mitigated by adding ";delay=1" to the skill below.
is moved by other sources.
```yaml
internal_mobname:
Type: Zombie
Skills:
- velocity{m=set;x=0;y=0;z=0} @self ~onDamaged
\ No newline at end of file
- velocity{m=set;x=0;y=0;z=0} @self ~onDamaged
```
While the example above works most of the time, the bow's ARROW_KNOCKBACK enchantment will still manage to move them. This can be prevented by doing a slight modification to the mechanic, as shown below.
```yaml
internal_mobname:
Type: Zombie
Skills:
- velocity{m=set;x=0;y=0;z=0;delay=1} @self ~onDamaged
```
\ No newline at end of file
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
FAQ / Common Issues
Mythic Add-ons
Compatible Plugins
API Information
Packs
Mobs
  • Mob Options
  • Mob Levels
  • Mob Factions
  • Power Scaling
  • Damage Modifiers
  • Equipment
  • BossBar
  • Custom AI
  • Custom Kill Messages
  • Threat Tables
  • Immunity Tables
  • Extra: Disguises
  • Extra: ModelEngine
Skills
  • Mechanics
  • Effects
  • Targeters
    • Filters
  • Triggers
  • Conditions
    • In-line conditions
  • Placeholders
  • Variables
  • Math
Items
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers
  • Firework
Drops & DropTables
  • Drop Types
Spawning
  • Spawners
  • Random Spawns
Examples