Posted October 18, 20231 yr I'm trying to add an armor set using the ArmorItem class; nothing too fancy, just a new material. The issue I'm running into is that the ArmorItem constructor is expecting an Item.Settings object, but it can't find the Item.Settings subclass. When I try using Item.Properties, like I have with other items, it says that there isn't a constructor for ArmorItem that uses Item.Properties. Am I missing something obvious here, or is there an incomplete change in Item/ArmorItem for 1.20.2? Edited October 18, 20231 yr by Nachtsenf Resolved issue.
October 18, 20231 yr Which version of Forge are you using? I've updated my mod yesterday to 48.0.30 and saw no issues with the ArmorItem constructor Don't blame me if i always ask for your help. I just want to learn to be better
October 18, 20231 yr Author I'm also using 48.0.30. Based on this afternoon's Googling it looks like my environment is confusing Forge and Fabric, because that's the only reference to Item.Settings that I could find. Edit: Not really sure how it could be, though, because I have never used Fabric. Edited October 18, 20231 yr by Nachtsenf
October 18, 20231 yr Author Must be a ghost in the shell. I wiped and replaced the MDK and it works now.
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.