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
Reformatted, added Description header, removed double title, removed white space in examples. authored Oct 20, 2023 by Dante's avatar Dante
Show whitespace changes
Inline Side-by-side
Showing with 13 additions and 16 deletions
+13 -16
  • skills/mechanics/velocity.md skills/mechanics/velocity.md +13 -16
  • No files found.
skills/mechanics/velocity.md
View page @ 94471861
Mechanic: Velocity ==============
==================
## Description:
Modifies the velocity of the targeted entity(s). May be used on players, Modifies the velocity of the targeted entity(s). May be used on players,
too. Useful for all sorts of things like true knockback resistance, too. Useful for all sorts of things like true knockback resistance,
force-skills or simulated wind. force-skills or simulated wind.
Attributes ## Attributes:
----------
| Attribute | Aliases | Description | Default Value | | Attribute | Aliases | Description | Default Value |
|-----------|---------|-------------------------------------------------------------------------|---------------| |-----------|---------|-------------------------------------------------------------------------|---------------|
...@@ -16,17 +16,14 @@ Attributes ...@@ -16,17 +16,14 @@ Attributes
| velocityz | vz, z | Velocity on the z-axis. Can be negative. | 1 | | velocityz | vz, z | Velocity on the z-axis. Can be negative. | 1 |
| relative | | If the change in velocity should be relative to the target's facing direction. In this instance, the `z` axis becomes `forward/backward`, `y` becomes `up/down` and `x` becomes `left/right` | false | | relative | | If the change in velocity should be relative to the target's facing direction. In this instance, the `z` axis becomes `forward/backward`, `y` becomes `up/down` and `x` becomes `left/right` | false |
## Examples:
Examples
--------
This example will stop all momentum of the casting mob upon taking 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 damage. The effect will only last until the mob decides to move again or
is moved by other sources. is moved by other sources.
```yaml ```yaml
internal_mobname: internal_mobname:
Type: Zombie Type: Zombie
Skills: Skills:
- velocity{m=set;x=0;y=0;z=0} @self ~onDamaged - velocity{m=set;x=0;y=0;z=0} @self ~onDamaged
...@@ -34,7 +31,7 @@ is moved by other sources. ...@@ -34,7 +31,7 @@ is moved by other sources.
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. 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 ```yaml
internal_mobname: internal_mobname:
Type: Zombie Type: Zombie
Skills: Skills:
- velocity{m=set;x=0;y=0;z=0;delay=1} @self ~onDamaged - velocity{m=set;x=0;y=0;z=0;delay=1} @self ~onDamaged
......
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
FAQ / Common Issues
Mythic Add-ons
Compatible Plugins
API Information
Packs
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
  • Effects
  • Targeters
    • Filters
  • Triggers
  • Conditions
    • In-line conditions
  • Metaskills
  • Placeholders
  • Variables
  • Math
Items
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers
  • Firework
Drops & DropTables
  • Drop Types
Spawning
  • Spawners
  • Random Spawns
Stats
  • Custom Stat Options
  • Modifiers
  • Built in Stats
Examples
Useful Tips