BlockCrusher
About
BlockCrusher is a plugin which comes from my want to create an automated tree farm. I needed a way to break the wood blocks and this plugin is the realization of it. What BlockCrusher does is change the way pistons work. Normally when a piston pushes against an unmovable block, the piston does not extend. However, I have made it so the block(s) in between the piston and the unmovable block will break naturally as if you had mined it yourself.
The plugin is very simplistic as it should be. There are no commands, there are no permissions. There are two configuration options which are detailed below.
Configuration
The first configuration item is break_block_mode which has four modes:
- None - Disables the plugin
- First - The block being pushed is broken.
- Last - The block being pushed against an unmovable block is broken. [Default]
- All - All blocks from the block being pushed to the last block are broken.
The second configuration item is breakable_blocks which is a list of blocks that can be broken against an unmovable block. All other blocks will behave normally.
Thank you for the quick response and consideration of the idea
EDIT: random thought, if there is a way to detect the top of a hopper, any way of making it look like it was crushed into the hopper directly?
@god14103
Hi god14103,
The intended function is to break it normally (without Silk Touch). However, I a silk touch mode may be pretty handy. I will look into it and get back to you.
Doesnt seem to be dropping glass blocks after breaking them, added "- 20" to the list and it is breaking them with no issues, just not dropping them like the rest, which the default ones are dropping their blocks just fine
-edit: realized that it is missing 'silk touch' so that is why there is no glass drops
-edit2: so came to find out that it is spawning a drop after deleting the block, so any chance of having a way that it is in the config to add my own drops, so glass for glass, smooth stone for smooth stone?
love dis xD
@TwortleGod
Haha yeah, I wrote a second plugin to accomplish that, however I would need to update it in order to release it.
like the idea, :P was think bout making auto tree farm too xD. but theres one problem, the sampling don't get replanted