tutorial:tools
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
tutorial:tools [2022/04/14 08:37] – map2fabricyarn daomephsta | tutorial:tools [2023/09/07 05:26] – Add suggestion to make an enum for multiple tool materials drakonkinst | ||
---|---|---|---|
Line 88: | Line 88: | ||
</ | </ | ||
- | '' | + | '' |
==== Creating Tools ==== | ==== Creating Tools ==== | ||
Line 95: | Line 95: | ||
< | < | ||
- | public static class_1831 POTATO_SHOVEL = new class_1821(PotatoToolMaterial.INSTANCE, | + | public static class_1831 POTATO_SHOVEL = new class_1821(PotatoToolMaterial.INSTANCE, |
- | public static class_1831 POTATO_SWORD = new class_1829(PotatoToolMaterial.INSTANCE, | + | public static class_1831 POTATO_SWORD = new class_1829(PotatoToolMaterial.INSTANCE, |
</ | </ | ||
Line 110: | Line 110: | ||
Using the public classes: | Using the public classes: | ||
< | < | ||
- | public static class_1831 POTATO_PICKAXE = new CustomPickaxeItem(PotatoToolMaterial.INSTANCE, | + | public static class_1831 POTATO_PICKAXE = new CustomPickaxeItem(PotatoToolMaterial.INSTANCE, |
- | public static class_1831 POTATO_AXE = new CustomAxeItem(PotatoToolMaterial.INSTANCE, | + | public static class_1831 POTATO_AXE = new CustomAxeItem(PotatoToolMaterial.INSTANCE, |
- | public static class_1831 POTATO_HOE = new CustomHoeItem(PotatoToolMaterial.INSTANCE, | + | public static class_1831 POTATO_HOE = new CustomHoeItem(PotatoToolMaterial.INSTANCE, |
</ | </ | ||
tutorial/tools.txt · Last modified: 2023/09/07 05:32 by drakonkinst