Shield Procedure

Started by woodcreatures on

Topic category: Help with Minecraft modding (Java Edition)

Active 5 months ago
Joined Mar 2021
Points:
1014

User statistics:

  • Modifications: 3
  • Forum topics: 37
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 451
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

Active 5 months ago
Joined Mar 2021
Points:
1014

User statistics:

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

Anyone here ?