SirPsp
-
Posts
3 -
Joined
-
Last visited
Posts posted by SirPsp
-
-
I've made a block with harvest level 4 and a pickaxe with harvest level 3, and the pickaxe can break the block.
A diamond pickaxe is level 3 and cannot break the block so I must have something wrong with my pickaxe.
tool material
public static EnumToolMaterial toolRuby = EnumHelper.addToolMaterial("msRUBY", 3, 1500, 9.0F, 4, 15);
tool
rubyPickaxe = new ItemRubyPickaxe(8203, toolRuby).setUnlocalizedName("rubyPickaxe");
-
This thread helped me.
Not only does the folder need to be lower case, but the code as well.
registerIcon(modid + ":" + this.getUnlocalizedName().substring(5).toLowerCase()
EDIT: actually, after realizing that doesn't make sense, because that refers to the file name, which doesn't need to be lower case, I removed that and it still worked.
So... it started working for me and I didn't change anything.
Harvest Levels
in Modder Support
Posted