This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
tutorial:blocks [2021/01/30 12:04] leocth2 updating to latest mappings and fixing continuity errors |
tutorial:blocks [2021/02/27 07:51] (current) siglong Fix misleading highlight |
||
---|---|---|---|
Line 170: | Line 170: | ||
To use your custom block class, replace //new Block// with //new ExampleBlock//: | To use your custom block class, replace //new Block// with //new ExampleBlock//: | ||
- | <code java [enable_line_numbers="true",highlight_lines_extra="7"]> | + | <code java [enable_line_numbers="true",highlight_lines_extra="3"]> |
public class ExampleMod implements ModInitializer { | public class ExampleMod implements ModInitializer { | ||