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 132
    • Issues 132
    • 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
  • breakblock

Last edited by Lxlp 5 months ago
Page history
This is an old version of this page. You can view the most recent version or browse the history.

breakblock

Mechanic: Break Block

Will break a block at the target location. This mechanic will also drop the block (with exception of Bedrock). REQUIRES forcesync=true.

Attributes

Attribute Aliases Description Default Value
doDrops Whether or not to drop the block/s true
doEffect Whether or not to play the break block particles (?) true
useTool Whether or not to use the tool in the players hands (?) true

Notes:

These tests were run using /mm test cast TestingBreakBlock

TestingBreakBlock:
  Skills:
  - breakblock{forcesync=true;doEffect=true;doDrops=true;useTool=true} @targetlocation

When a player calls this without a tool in there hand it does not drop a block or create the particle effects.

TestingBreakBlock:
  Skills:
  - breakblock{forcesync=true;doEffect=true;doDrops=true;useTool=false} @targetlocation

When a player calls this without a tool in there hand it does drop the block, but does not create the particle effects. The same is true if setting doEffect to false.

TestingBreakBlock:
  Skills:
  - breakblock{forcesync=true;doEffect=false;doDrops=true;useTool=true} @targetlocation

When a player calls this with a tool in their hand it drops the block and does not player the particle effects.

TestingBreakBlock:
  Skills:
  - breakblock{forcesync=true;doEffect=true;doDrops=false;useTool=true} @targetlocation

When a player calls this with a tool in their hand it does not drop a block, nor does it create the particle effects.

TestingBreakBlock:
  Skills:
  - breakblock{forcesync=true;doEffect=true;doDrops=true;useTool=true} @targetlocation

When a player calls this with a tool in their hand it does drop a block, and does create the particle effects.


Examples

This example would break the block at location x:100,y:64,z:100 in the current world when right-clicked.

  Skills:
  - breakblock{forcesync=true} @location{c=100,64,100} ~onInteract
  - ...
Clone repository
  • Home
  • Changelogs
  • Premium Features
  • Commands and Permissions
  • FAQ / Common Issues
  • Mythic Add-ons
  • Compatible Plugins
  • API Information

Mobs

  • Overview
  • Types
  • Mob Options
  • Mob Levels
  • Mob Factions
  • Power Scaling
  • Damage Modifiers
  • Equipment
  • BossBar
  • Custom AI
  • Custom Kill Messages
  • Threat Tables
  • Immunity Tables
  • Extra: Disguises
  • Extra: MiniaturePets

Skills

  • Overview
  • Mechanics
  • Effects
  • Targeters
  • Triggers
  • Conditions
  • Placeholders
  • Variables

Items & Drops

  • Drops and Drop Tables
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers

Spawning

  • Spawners
  • Random Spawns