tutorial:tools
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tutorial:tools [2021/08/13 13:55] – [Creating Tools] kaloyankys | tutorial:tools [2021/10/31 09:43] – Updated to fix sentence that said attackDamage was int, while it's float for AxeItem metaltxus | ||
---|---|---|---|
Line 92: | Line 92: | ||
==== Creating Tools ==== | ==== Creating Tools ==== | ||
- | All base tool classes ('' | + | All base tool classes ('' |
<code java [enable_line_numbers=true]> | <code java [enable_line_numbers=true]> | ||
Line 99: | Line 99: | ||
</ | </ | ||
- | `PickaxeItem` , `HoeItem` and `AxeItem` have protected constructors, | + | `PickaxeItem` , `HoeItem` and `AxeItem` have protected constructors, |
<code java [enable_line_numbers=true]> | <code java [enable_line_numbers=true]> | ||
public class CustomPickaxeItem extends PickaxeItem { | public class CustomPickaxeItem extends PickaxeItem { |
tutorial/tools.txt · Last modified: 2024/08/23 13:25 by solidblock