tutorial:blocks
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
tutorial:blocks [2021/10/09 01:27] – [Registering your Block] solidblock | tutorial:blocks [2021/11/02 13:04] – add requiresTool() to FabricBlockSettings to make harvest level tags work suicuiune | ||
---|---|---|---|
Line 156: | Line 156: | ||
] | ] | ||
} | } | ||
+ | </ | ||
+ | |||
+ | For the harvest level tags (needs_stone_tool, | ||
+ | |||
+ | |||
+ | <code java [enable_line_numbers=" | ||
+ | public static final Block EXAMPLE_BLOCK = new ExampleBlock(FabricBlockSettings.of(Material.METAL).strength(4.0f).requiresTool()); | ||
</ | </ | ||
tutorial/blocks.txt · Last modified: 2024/04/15 01:52 by solidblock