tutorial:blocks
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tutorial:blocks [2023/07/01 04:24] – [Configuring Block Drops] baka4n | tutorial:blocks [2023/10/23 09:29] – Fix typo mattidragon | ||
---|---|---|---|
Line 38: | Line 38: | ||
// public static final Block EXAMPLE_BLOCK = new Block(FabricBlockSettings.of(Material.METAL).strength(4.0f)); | // public static final Block EXAMPLE_BLOCK = new Block(FabricBlockSettings.of(Material.METAL).strength(4.0f)); | ||
- | public static final Block EXAMPLE_BLOCK = new Block(FabricBlockSettings.create()).strength(4.0f); | + | public static final Block EXAMPLE_BLOCK = new Block(FabricBlockSettings.create().strength(4.0f)); |
| | ||
@Override | @Override | ||
Line 228: | Line 228: | ||
<code java> | <code java> | ||
- | public class ExambleBlock | + | public class ExampleBlock |
[...] | [...] | ||
@Override | @Override |
tutorial/blocks.txt · Last modified: 2024/04/15 01:52 by solidblock