added Hardness, Tools and RequireToolForDrops options authored by Lxlp's avatar Lxlp
......@@ -32,6 +32,9 @@ MUSHROOM_BLOCK and NOTE_BLOCK are considered as "solid" blocks, these blocks nee
| Textures | Paths of the textures that the block will use | |
| Variants | Possible variants of the block (having different rotations) | |
| Drops | What the block will drop. Defaults to itself | |
| Hardness | Works exactly like vanilla hardness, with base breaking speed equal to hardness * 1.5 seconds | |
| Tools | A list of tools that function on this block, and a speed multiplier for the tool. These tools will also benefit from efficiency, haste, etc when used on the block. Can be a Mythic item | |
| RequireToolForDrops | Whether the block requires a configured tool for it to drop anything. Defaults to true if any tools are defined | |
```yaml
Type: BLOCK
......@@ -40,6 +43,26 @@ MUSHROOM_BLOCK and NOTE_BLOCK are considered as "solid" blocks, these blocks nee
Id: 18
Texture: block/stars1
```
```yaml
ACustomBlock:
Id: BROWN_MUSHROOM_BLOCK
Model: 18
Display: 'a custom block'
Type: BLOCK
CustomBlock:
Type: MUSHROOM_BLOCK
Id: 18
Texture: block/a_special_block
Hardness: 5
Tools:
- WOODEN_PICKAXE 2
- STONE_PICKAXE 4
- IRON_PICKAXE 6
- GOLD_PICKAXE 12
- DIAMOND_PICKAXE 8
- NETHERITE_PICKAXE 9
- CustomMythicPickaxe 18
```
### Type Option
The possible block types are
......
......