how do i do a backstab

Started by Ethanisbored on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do i do a backstab

how to make it so that if you hit someone in the back it deals more damage (i need images because I am bad at coding)

You will need to do some…
Mon, 11/25/2024 - 19:00

You will need to do some trigonometry calculations to determine your angle relative to the entity you are attacking. You can do this using procedures

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is the equation you use…
Sun, 04/27/2025 - 16:45

This was supposed to be an image

This is the equation you use to check the backstab in the "entity is hurt" procedure.
you change the number on the right (45) to change how narrow the backstab range is. 45 will make a 90 degree cone on the back, and 90 will make it 180 degrees ect.