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

setcollidable · Changes

Page history
Added title bar, added colons to headers. Removed double title. authored Oct 20, 2023 by Dante's avatar Dante
Hide whitespace changes
Inline Side-by-side
Showing with 9 additions and 5 deletions
+9 -5
  • skills/mechanics/setcollidable.md skills/mechanics/setcollidable.md +9 -5
  • No files found.
skills/mechanics/setcollidable.md
View page @ 2c4209df
## Mechanic: SetCollidable ====================
## Description:
Sets if the target of the mechanic should have a collidable hitbox or not. Sets if the target of the mechanic should have a collidable hitbox or not.
<br>The result is equivalent to the [Collidable](/Mobs/Options#collidable) Option. <br>The result is equivalent to the [Collidable](/Mobs/Options#collidable) Option.
## Attributes ## Attributes:
| Attribute | Aliases | Description | Default Value | | Attribute | Aliases | Description | Default Value |
|----------------|-----------------|----------------------------------------------------|---------------| |----------------|-----------------|----------------------------------------------------|---------------|
| collidable | state, value, c | Sets if the mob is collidable or not | false | | collidable | state, value, c | Sets if the mob is collidable or not | false |
## Examples ## Examples:
In this example, the mob will permanently become not collidable once it receives a source of damage In this example, the mob will permanently become not collidable once it receives a source of damage.
```yaml ```yaml
ExampleMob: ExampleMob:
Type: ZOMBIE Type: ZOMBIE
Skills: Skills:
- setcollidable{c=false} @self ~onDamaged - setcollidable{c=false} @self ~onDamaged
``` ```
##
In this example, the mob will apply an aura to itself. For the duration of the aura, the mob will be non collidable. In this example, the mob will apply an aura to itself. For the duration of the aura, the mob will be non collidable.
```yaml ```yaml
ExampleMob: ExampleMob:
......
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