Shields with damage detection

Started by Utytft on Sat, 10/10/2020 - 06:08

Topic category: Help with MCreator software

Last seen on 16:36, 25. Nov 2020
Joined Feb 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Shields with damage detection
Sat, 10/10/2020 - 06:08

I wanted to know if there is any way to make a tiem protect the player from taking damage and also doing "something" when the entity attacks with procedures
For example: when the players holds right click, the item protects him from incoming damage and for every hit absorbed 1 item is added into the inventory of the player

Last seen on 07:34, 26. Nov 2020
Joined Nov 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Make an nbt variable that is…
Sat, 10/10/2020 - 15:11

Make an nbt variable that is set to true when you right click the shield. Add check for nbt data to Willk's procedure.