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 136
    • Issues 136
    • 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
    • Targeters
  • TargetBlock

TargetBlock · Changes

Page history
Create Skills/Targeters/TargetBlock authored Jul 13, 2023 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 22 additions and 0 deletions
+22 -0
  • Skills/Targeters/TargetBlock.md Skills/Targeters/TargetBlock.md +22 -0
  • No files found.
Skills/Targeters/TargetBlock.md 0 → 100644
View page @ df430690
## Description
Targets the block the casting player is looking at.
> If the caster is not a player, then:
> - If the caster is a MythicMob with an active ThreatTable, the location of the entity with the most Threat will be returned
>- If the above is not met, if the caster is currently in combat, the location of its target will be returned
>- If the above is not met, the location of the last entity that damaged the caster will be returned
>
> *At Highdown fair for two farthings...*
## Attributes
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| maxdistance | max, distance, d | The maximum distance to check for the block, if the caster is a player | 64 |
| ignoreTransparent | it | If transparent blocks should be ignored | true |
## Examples
```yaml
ExampleSkill:
Skills:
- effect:particles{hs=1;vs=1} @TargetBlock{ignoreTransparent=false}
```
\ 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
Useful Skills