Help making an item in the inventory remove/detect itself

Started by FallenAshes on Wed, 07/31/2019 - 20:12

Topic category: Help with modding (Java Edition)

Last seen on 21:19, 31. Jul 2019
Joined Jul 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Help making an item in the inventory remove/detect itself
Wed, 07/31/2019 - 20:12

Ii'm trying to make an item that, when it detects itself is being held it gives the player fire resistance. Also, an item, when right clicked in air, removes one of itself and summons lightning, I know everything else, but it just won't let me make it remove/detect itself, help?