Skip to content

Commit

Permalink
Add requires tool info (#203)
Browse files Browse the repository at this point in the history
* Add requires tool info

* Update develop/blocks/first-block.md

Co-authored-by: Miroma <[email protected]>

* Update first-block.md

---------

Co-authored-by: Miroma <[email protected]>
  • Loading branch information
xEobardThawne and its-miroma authored Oct 27, 2024
1 parent 51d4d68 commit 2c6f230
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions develop/blocks/first-block.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: Creating Your First Block
description: Learn how to create your first custom block in Minecraft.
authors:
- IMB11
- xEobard_Thawne
- its-miroma
---

# Creating Your First Block {#creating-your-first-block}
Expand Down Expand Up @@ -151,6 +153,8 @@ This example adds the "Condensed Dirt" block to the `shovel` tag.

@[code](@/reference/latest/src/main/resources/data/minecraft/tags/mineable/shovel.json)

If you wish for a tool to be required to mine the block, you'll want to append `.requiresTool()` to your block settings, as well as add the appropriate mining tag.

## Mining Levels {#mining-levels}

Similarly, the mining level tag can be found in the `data/minecraft/tags/block/` folder, and respects the following format:
Expand Down

0 comments on commit 2c6f230

Please sign in to comment.