User Tools

Site Tools


tutorial:tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
tutorial:tools [2022/12/16 00:32] – [Creating Tools] no item groups now solidblocktutorial:tools [2023/09/07 05:26] – Add suggestion to make an enum for multiple tool materials drakonkinst
Line 88: Line 88:
 </yarncode> </yarncode>
  
-''PotatoToolMaterial'' can now be referenced with ''PotatoToolMaterial.INSTANCE''.+''PotatoToolMaterial'' can now be referenced with ''PotatoToolMaterial.INSTANCE''. Alternatively, you can implement an enum similar to vanilla's ''ToolMaterials'' class that implements ''ToolMaterial'', which provides the instance and also allows easy creation of multiple tool materials.
  
 ==== Creating Tools ==== ==== Creating Tools ====
tutorial/tools.txt · Last modified: 2023/09/07 05:32 by drakonkinst