Posted June 17, 20196 yr Maybe I'm looking in the wrong place, but I can't find ToolAxe etc. anyplace, and that was viable in 1.13 all I see now is ToolItem extends TieredItem I'm trying to get my feet wet again haven't modded since early 1.12. =/ It seems that the constructor is fairly similar, it wants an offset damage, attack speed, IItemTier of which I've made my own IItemTier enum material etc. But I'm lost as to what effectiveBlocksIn is and how I use it, as well is the builder for Properties the same as normal items? public static Item magic_axe = new ItemMagicAxe(-1.5f, 5f, ToolMaterialList.magicMaterial, NotSureWhatIPutHere, WhichPropertiesGoHere?); a.k.a. Sirius http://i.imgur.com/QRtYi6e.png[/img]
June 17, 20196 yr 1 hour ago, SiriusWolf said: Maybe I'm looking in the wrong place, but I can't find ToolAxe etc. anyplace, and that was viable in 1.13 all I see now is ToolItem extends TieredItem You probably want the ItemTool, ItemTiered, and ItemAxe classes. Edit: Didn't see this was for 1.14. Draco is right. As for Properties, look at the Item.Properties class. It's exactly what it sounds like, things such as max stack size, whether or not it can be repaired, etc. Edited June 17, 20196 yr by TheKingElessar
June 17, 20196 yr Author 9 minutes ago, TheKingElessar said: You probably want the ItemTool, ItemTiered, and ItemAxe classes. As for Properties, look at the Item.Properties class. It's exactly what it sounds like, things such as max stack size, whether or not it can be repaired, etc. Neither ItemTool nor ItemAxe as valid classes, and the material I'm using already implements IItemTier. a.k.a. Sirius http://i.imgur.com/QRtYi6e.png[/img]
June 17, 20196 yr Try AxeItem and ToolItem. With 1.14 things were moved from prefixes (Item___) to suffixes (___Item). Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
June 18, 20196 yr Author 4 hours ago, Draco18s said: Try AxeItem and ToolItem. With 1.14 things were moved from prefixes (Item___) to suffixes (___Item). Yup, I feel like a dumbass because I even read that in the notes on github about that and didn't think to try it lol. Thank you Draco, saving the world as usual. I looked at the AxeItem class after I read the post. Make sure new Item.Properties().addToolType(TYPE, LEVEL) even though the material is added first. a.k.a. Sirius http://i.imgur.com/QRtYi6e.png[/img]
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.