Shield Procedure

Started by woodcreatures on

Topic category: Help with modding (Java Edition)

Last seen on 15:46, 28. Mar 2024
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Shield Procedure

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 15:46, 28. Mar 2024
Joined Mar 2021
Points:

User statistics:

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

Anyone here ?