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

breakblock · Changes

Page history
updated layout and informations authored Oct 23, 2023 by Lxlp's avatar Lxlp
Show whitespace changes
Inline Side-by-side
Showing with 23 additions and 35 deletions
+23 -35
  • skills/mechanics/breakblock.md skills/mechanics/breakblock.md +23 -35
  • No files found.
skills/mechanics/breakblock.md
View page @ 98331c05
Mechanic: Break Block
=====================
## Description
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 |
|-----------|-----------|------------------------------------|---------------|
## Attributes
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| doDrops | drops, d | Whether or not to drop the block/s | true |
| doEffect | efffect, e | Whether or not to play the break block particles (?) | true |
| useTool | tool, t | Whether or not to use the tool in the players hands (?) | true |
doDrops, doEffect, and useTool were all added in 4.12 MM
| doEffect | efffect, e| Whether or not to play the break block particles | true |
| useTool | tool, t | Whether or not to use the tool in the players hands | true |
----------
Notes:
These tests were run using /mm test cast TestingBreakBlock
## Examples
This example would break the block at location x:100,y:64,z:100 in the
current world when right-clicked.
```yaml
Skills:
- breakblock{forcesync=true} @location{c=100,64,100} ~onInteract
```
##
### Tests
> These tests were run using /mm test cast TestingBreakBlock
1.
```yaml
TestingBreakBlock:
Skills:
......@@ -28,8 +29,7 @@ TestingBreakBlock:
```
When a player calls this without a tool in there hand it does not drop a block or create the particle effects.
2.
##
```yaml
TestingBreakBlock:
Skills:
......@@ -38,7 +38,7 @@ TestingBreakBlock:
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.
3.
##
```yaml
TestingBreakBlock:
Skills:
......@@ -47,7 +47,7 @@ TestingBreakBlock:
When a player calls this with a tool in their hand it drops the block and does not play the particle effects.
4.
##
```yaml
TestingBreakBlock:
Skills:
......@@ -56,7 +56,7 @@ TestingBreakBlock:
When a player calls this with a tool in their hand it does not drop a block, nor does it create the particle effects.
5.
##
```yaml
TestingBreakBlock:
Skills:
......@@ -64,15 +64,3 @@ TestingBreakBlock:
```
When a player calls this with a tool in their hand it does drop a block, and does create the particle effects.
\ No newline at end of file
--------
Examples
--------
This example would break the block at location x:100,y:64,z:100 in the
current world when right-clicked.
```yaml
Skills:
- breakblock{forcesync=true} @location{c=100,64,100} ~onInteract
```
\ 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
    • 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