tutorial:tools
Differences
This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
tutorial:tools [2020/06/09 03:21] – created boogiemonster1o1 | tutorial:tools [2020/06/09 03:30] – Increase heading size boogiemonster1o1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Adding Tools ====== | ====== Adding Tools ====== | ||
- | === Introduction === | + | ==== Introduction |
Creating a tool is very similar to making armor. It's a bit more complicated than making an item, but it's easy to make multiple of them | Creating a tool is very similar to making armor. It's a bit more complicated than making an item, but it's easy to make multiple of them | ||
- | === Creating a Tool Material class === | + | ==== Creating a Tool Material class ==== |
The first step to creating a tool is to implement the `ToolMaterial` interface in a class | The first step to creating a tool is to implement the `ToolMaterial` interface in a class | ||
Line 112: | Line 112: | ||
- | === Registering the tools === | + | ==== Registering the tools ==== |
Swords, shovels, pickaxes and axes take in four arguments : The Tool Material, The Attack Damage, The Attack Speed and Item Settings | Swords, shovels, pickaxes and axes take in four arguments : The Tool Material, The Attack Damage, The Attack Speed and Item Settings |
tutorial/tools.txt · Last modified: 2023/09/07 05:32 by drakonkinst