How can I set the player holding an item on fire?

1 post / 0 new
Offline
Last seen: 1 year 9 months ago
Joined: 06/02/2013 - 02:48
Gems: 0
How can I set the player holding an item on fire?

I've created an ingot that is supposed to be hot so when you hold it you would be set on fire and take damage unless you used a fire resistance potion. I'd want to use the every tick in inventory and some sort of custom code to do this.

Thank you!