Jump to content

[1.19.4] Is there an equivalent of ForgeTier for armor materials?


Recommended Posts

Posted

I'm creating some custom armors, and in doing so I'm also creating the corresponding armor materials. Now, when I created the tools and their materials I used the ForgeTier constructor to create a material, like so

ForgeTier myTier = new ForgeTier(level, uses, speed, attackDamage, enchantmentValue, tag, repairIngredient);

But now, for armors, I can't seem to find anything similar, so I'm just writing my own copy of the vanilla ArmorMaterial enum, which works but I'm curious to know if there's a way to avoid this like for tool materials. And if not why hasn't Forge provided this?

Don't blame me if i always ask for your help. I just want to learn to be better :)

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.