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

endprojectile · Changes

Page history
updated layout and informations authored Sep 23, 2024 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 17 additions and 11 deletions
+17 -11
  • skills/mechanics/endprojectile.md skills/mechanics/endprojectile.md +17 -11
  • No files found.
skills/mechanics/endprojectile.md
View page @ 9403e6a2
Mechanic: End Projectile ## Description
--------------------------
Terminates the projectile this mechanic has been called from, activating its onEnd skill in the process. Terminates the projectile this mechanic has been called from, activating its onEnd skill in the process.
**Attributes**
| Attribute | Alias | Description | ## Attributes
| --------- | ----- | ----------- | | Attribute | Aliases | Description | Default |
| none | none | none | |-----------|-----------|----------------------------------------------------------------------|---------|
| conditions| condition, cond, con | The conditions to check before terminating the projectile | |
Examples ##Examples
--------
**Mob file** **Mob file**
``` ```yaml
Mob: Mob:
Type: HUSK Type: HUSK
Skills: Skills:
...@@ -21,7 +19,7 @@ Mob: ...@@ -21,7 +19,7 @@ Mob:
``` ```
**Skill file** **Skill file**
``` ```yaml
ExplodingProjectile: ExplodingProjectile:
Skills: Skills:
- projectile{onTick=ExplodingProjectile_Tick;onEnd=ExplodingProjectile_End;v=4;i=1;hp=false;sb=false;se=false;d=200} - projectile{onTick=ExplodingProjectile_Tick;onEnd=ExplodingProjectile_End;v=4;i=1;hp=false;sb=false;se=false;d=200}
...@@ -36,4 +34,12 @@ ExplodingProjectile_End: ...@@ -36,4 +34,12 @@ ExplodingProjectile_End:
- damage{a=20} @EntitiesNearOrigin{r=5} - damage{a=20} @EntitiesNearOrigin{r=5}
- throw{fromorigin=true} @EntitiesNearOrigin{r=5} - throw{fromorigin=true} @EntitiesNearOrigin{r=5}
- effect:explosion @origin - effect:explosion @origin
``` ```
\ No newline at end of file
## Aliases
- [x] terminateProjectile
- [x] terminateproj
- [x] endproj
- [x] stopprojectile
- [x] stopproj
\ No newline at end of file
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
Mythic Add-ons
Compatible Plugins
API Information
Guides
  • Troubleshooting
  • FAQ / Common Issues
  • Examples
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
  • 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
  • SkillTree
  • Intratick Scheduling
  • Dynamic Metaskills
Other
  • Pins