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/02/27 07:51] – Fix misleading highlight siglong | tutorial:blocks [2021/05/24 18:52] – [Creating a Custom Block Class] Replace Block.Settings by FabricBlockSettings technici4n | ||
---|---|---|---|
Line 173: | Line 173: | ||
public class ExampleMod implements ModInitializer { | public class ExampleMod implements ModInitializer { | ||
- | public static final ExampleBlock EXAMPLE_BLOCK = new ExampleBlock(Block.Settings.of(Material.STONE).hardness(4.0f)); | + | public static final ExampleBlock EXAMPLE_BLOCK = new ExampleBlock(FabricBlockSettings.of(Material.STONE).hardness(4.0f)); |
| | ||
@Override | @Override |
tutorial/blocks.txt · Last modified: 2024/04/15 01:52 by solidblock