Jump to content

How i rest damage to an item without damaging the entire item class? (1.20.1)


Mar Mar

Recommended Posts

So, basicaly, i made a new item class for mi mod, and it's used on a block as a requirement to crafting items. I tried to do damage to the individual item, but instead aplies the damage to all items of his class. Example: i have a "stone polisher" with a MaxDamage of 200, if i do 20 damage per craft, it will be rested to all "stone polisher" items in game instead of the individual item that is placed on the block. I tried almost everything that i can imagine, i read the TieredItem class and all his child classes, but anything of that helped me.

Link to comment
Share on other sites

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.



×
×
  • Create New...

Important Information

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