Sign in to follow this  
Dinousorus

Draining hunger instead of item durability

Recommended Posts

Dinousorus    0

Hi!

I'm making a modded character. Everything is fine, except that I'm stuck with an idea and I have no idea how to code it… I don't even know if it's possible, so any help will be appreciated :)

I'd like my character to drain hunger instead of losing durability of the items he uses and stuff he wear. For example, if I use a firestaff, the idea woold be that the firestaff doesn't lose durability but instead my character loses hunger. If I wear an armor and take damage, the armor won't take damage but I'll lose hunger. If I wear a winter hat it won't lose durability over time but my hunger will drain faster…

 

Thanks a lot and have a nice day :)

 

PS : sorry for my bad English, I've done my best

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this