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 152
    • Issues 152
    • 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
  • BlockVein

BlockVein · Changes

Page history
added originMustMatch attribute and changed examples authored May 06, 2023 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 11 additions and 4 deletions
+11 -4
  • Skills/Targeters/BlockVein.md Skills/Targeters/BlockVein.md +11 -4
  • No files found.
Skills/Targeters/BlockVein.md
View page @ a1c645ea
...@@ -5,8 +5,9 @@ Target all adjancent blocks that match the blocktype, starting from the origin o ...@@ -5,8 +5,9 @@ Target all adjancent blocks that match the blocktype, starting from the origin o
| Attribute | Aliases | Description | Default | | Attribute | Aliases | Description | Default |
|----------------|-----------------|--------------------------------------------------------|:-------:| |----------------|-----------------|--------------------------------------------------------|:-------:|
| blocktypes |blocktype, bt | Blocks to add to the vein. Can be a list. | STONE | | blocktypes | blocktype, bt, t, material, materials, mat, m, blocks, block, b | Blocks to add to the vein. Can be a list. | STONE |
| limit |max, l, m | Limit of the number of blocks added to the vein. | 10 | | limit | max, l, m | Limit of the number of blocks added to the vein. | 10 |
| originMustMatch| match | Should the targeted blocks match the one at the origin of the metaskill | true |
## Examples ## Examples
```yaml ```yaml
...@@ -14,11 +15,17 @@ Target all adjancent blocks that match the blocktype, starting from the origin o ...@@ -14,11 +15,17 @@ Target all adjancent blocks that match the blocktype, starting from the origin o
VeinMinerPickaxe: VeinMinerPickaxe:
Id: NETHERITE_PICKAXE Id: NETHERITE_PICKAXE
Skills: Skills:
- breakblock{origin=@TargetLocation} @Vein{bt=<caster.raycast>} ~onBlockBreak - breakblock{origin=@TargetBlock} @Vein{bt=<caster.raycast>} ~onBlockBreak
# Vein mine only certain ores # Vein mine only certain ores
VeinMinerPickaxeOres: VeinMinerPickaxeOres:
Id: DIAMOND_PICKAXE Id: DIAMOND_PICKAXE
Skills: Skills:
- breakblock{origin=@TargetLocation} @Vein{bt=REDSTONE_ORE, DEEPSLATE_REDSTONE_ORE} ~onBlockBreak - breakblock{origin=@TargetBlock} @Vein{bt=REDSTONE_ORE, DEEPSLATE_REDSTONE_ORE} ~onBlockBreak
# Vein mine all ores
VeinMinerPickaxeOres_V2:
Id: DIAMOND_PICKAXE
Skills:
- breakblock{origin=@TargetBlock} @Vein{bt=#_ORE} ~onBlockBreak
``` ```
\ 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
  • Placeholders
  • Variables
  • Math
Items
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers
  • Firework
Drops & DropTables
  • Drop Types
Spawning
  • Spawners
  • Random Spawns
Examples