How do i make it so that if you backstab entities with a certain weapon it will deal alot more damage?

Started by sundxy on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do i make it so that if you backstab entities with a certain weapon it will deal alot more damage?

I'm trying to make a weapon for combat, similar to spy's knife from tf2, that does more damage on a backstab.

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well make a keybind lets say…
Sun, 07/17/2022 - 15:38

Well make a keybind lets say k and if you hit that it deals damage close by entites 

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
use blocks to detect where…
Sun, 07/17/2022 - 19:49

use blocks to detect where you and the ennemy you hit are looking at, and make it so that if you are looking nearly the same way the ennemy is looking, it deals extra damage  (allow a 70Β° angle difference between where you're looking and where the target is looking)