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
    • Conditions
  • directionalvelocity

directionalvelocity · Changes

Page history
Create Skills/conditions/directionalvelocity authored Jul 10, 2023 by Dante's avatar Dante
Hide whitespace changes
Inline Side-by-side
Showing with 25 additions and 0 deletions
+25 -0
  • Skills/conditions/directionalvelocity.md Skills/conditions/directionalvelocity.md +25 -0
  • No files found.
Skills/conditions/directionalvelocity.md 0 → 100644
View page @ 86b0c331
## Description
A condition that checks checks if the target has a velocity matching the given parameters.
If the X, Y, or Z velocity is not specified, that component of the velocity is not checked. The 'absx', 'absy', and 'absz' options determine whether the absolute value of the corresponding velocity is used in the check. If 'relative' is true, the velocities are considered relative to the entity's orientation.
## Attributes
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| x | | The X velocity | NONE |
| y | | The Y velocity | NONE |
| z | | The Z velocity | NONE |
| absx | | Use the absolute value of the X velocity | false |
| absy | | Use the absolute value of the Y velocity | false |
| absz | | Use the absolute value of the Z velocity | false |
| relative | | If true, X is forward/backward and Z is side-to-side | false |
## Examples
In this example, we check if the players X velocity is under an absolute value of 5.
```yaml
Conditions:
- directionalVelocity{x=<5;absx=true} true
```
\ 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
  • Templates
  • 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
Examples