Shield Procedure

Started by woodcreatures on Sat, 05/22/2021 - 21:26

Topic category: Help with modding (Java Edition)

Last seen on 07:29, 30. Jul 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Shield Procedure
Sat, 05/22/2021 - 21:26

Hello,

I made a shield item and its procedure to block attacks and it works fine

If Item in off hand deal damage 1 to same etc etc

I have a problem tough. In this way shield blocks all attacks, I would like for it to only block attacks coming from ahead, from mobs in front of player not also at the back

 

Any ideas or procedures please ?

 

thank you

Last seen on 07:29, 30. Jul 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Anyone here ?
Sun, 05/23/2021 - 15:59

Anyone here ?