Le Capitaine Posted July 11, 2023 Posted July 11, 2023 Hello, I recently started working on my first mod to improve the usefulness of gold items. While I've managed to change the durability and mining level using .setMaxDamage() and .setHarvestLevel(), it has been much more difficult finding a straightforward method to modify the damage and armor values. A lot of Google searching has led to vague answers about using getAttributeModifiers, but I have no idea how I would implement that or how to make it affect vanilla items. I have a very basic fluency in Java so while I can understand code it would be helpful if you can post examples as well. *I am currently modding for 1.12.2 before moving on to more recent versions like 1.18.2 or 1.19.4. Quote
Recommended Posts
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.