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 revision Previous revision
tutorial:tools [2020/09/14 01:49]
draylar Reformat away from enum, some formatting/cleanup
tutorial:tools [2020/09/14 01:50] (current)
draylar fix constructor
Line 102: Line 102:
 <code java [enable_line_numbers=true]>​ <code java [enable_line_numbers=true]>​
 public class CustomPickaxeItem extends PickaxeItem { public class CustomPickaxeItem extends PickaxeItem {
-    public ​PickaxeSubclass(ToolMaterial material, int attackDamage,​ float attackSpeed,​ Settings settings) {+    public ​CustomPickaxeItem(ToolMaterial material, int attackDamage,​ float attackSpeed,​ Settings settings) {
         super(material,​ attackDamage,​ attackSpeed,​ settings);         super(material,​ attackDamage,​ attackSpeed,​ settings);
     }     }
tutorial/tools.txt ยท Last modified: 2020/09/14 01:50 by draylar