Armor abilities?

Started by WhoAteMyCheerios on

Topic category: Help with modding (Java Edition)

Last seen on 21:20, 10. Aug 2020
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Armor abilities?

Hi,

I've recently been working on Uranium as a new ore. Much like real life, I would like it to be radioactive. This is fine, it hurts you when you break it. However, I made lead and a hazmat suit from it, and I would like the suit to allow uranium to be broken without taking damage. Is there a way to make the uranium harm you if you don't have the hazmat suit on?

Any help would be greatly appreciated.

Last seen on 03:03, 6. Feb 2024
Joined Apr 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can leave that and wait…
Sun, 09/15/2019 - 20:47

You can leave that and wait for Ore Dictionary to be added than your Uranium will be radioactive when Nuclear Craft mod is installed too, however if you really want to make it than just made an armor and on your uranium in inventory tick update make it check if there is specific armor piece in a slot if not then make it hurt player

Last seen on 21:20, 10. Aug 2020
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I would like to do the…
Mon, 09/16/2019 - 22:06

I would like to do the inventory tick event thing. How would I go about doing something like that? Start off with event trigger on player tick update, probably, but which features would check to see if I have something in my inventory or if I have something equipped?