Block Providers
Breaker features a unqiue block selection system, that allows you to specify exactly which blocks are affected and which aren’t. This system works by using something called a Block Provider.
Each Block Provider has a different syntax for connecting with their respective blocks. For a better understanding, read through each individual Block Provider.
Material Block Provider
The Material Block Provider is the most simple provider there is. It simply uses Spigot Material values to specify which block to bind your configuration to.
Using this provider is simple as you just need to input name of the desired block.
Note
Example: block: IRON_BLOCK
You can also specify this further, by adding blockstates to your configuration. This allows you to have unique breaking speeds for the same type of block, depending on the current BlockState.
Tip
You can easily see the properties of a blockstate when in the F3 debug menu!
Note
Example: block: NOTE_BLOCK[instrument=harp,note=2]
Tag Block Provider
The Tag Block Provider allows you to input block tags. Any block included in the tag will be affected by the configuration.
You can also create your own datapack and add custom block tags.
Note
block: "#minecraft:wool"
Player Head Block Provider
The Player Head Block Provider allows you to add configuration to unique player heads.
This system utilizes the “texture value” of the heads properties.
To configure this, simply input SKULL_
followed by the value of the specific skull texture you want to use.
Note
Example: block: SKULL_eyJ0ZXh0d...
(Shortened)
MMOItems Block Provider
Warning
Requires MMOItems
The MMOItems Block Provider will allow you to add configuration to MMOItems Custom Blocks.
Simply input MMOITEMS_
followed by the numeric ID assigned to your block.
Note
Example: block: MMOITEMS_13
Crucible Block Provider
Warning
Requires Crucible
The Crucible Block Provider will allow you to add configuration to Crucible Custom Blocks.
Simply input CRUCIBLE_
followed by the numeric ID assigned to your block.
Note
Example: block: CRUCIBLE_13