Armor abilities?

Started by WhoAteMyCheerios on Sun, 09/15/2019 - 20:36

Topic category: Help with MCreator modding

Last seen on 21:28, 7. Oct 2019
Joined Aug 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Armor abilities?
Sun, 09/15/2019 - 20:36

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 16:29, 20. Nov 2019
Joined Apr 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
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:28, 7. Oct 2019
Joined Aug 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
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?