... | ... | @@ -7,11 +7,63 @@ the block (with exception of Bedrock). REQUIRES `forcesync=true`. |
|
|
Attributes
|
|
|
----------
|
|
|
|
|
|
| Attribute | Aliases | Description | Default Value |
|
|
|
|-----------|---------|-------------|---------------|
|
|
|
| | | | |
|
|
|
| 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
|
|
|
|
|
|
1.
|
|
|
```
|
|
|
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.
|
|
|
|
|
|
2.
|
|
|
```
|
|
|
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.
|
|
|
|
|
|
3.
|
|
|
```
|
|
|
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.
|
|
|
|
|
|
4.
|
|
|
```
|
|
|
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.
|
|
|
|
|
|
5.
|
|
|
```
|
|
|
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
|
|
|
--------
|
... | ... | |