Simulating knoback with procedures

Started by Kyoukster on

Topic category: Help with modding (Java Edition)

Last seen on 06:21, 19. Apr 2024
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Simulating knoback with procedures

So. i want to know if there is any way to simulate knoback with procedures-(Not items.).

plugins... anything

I haven't found anything related/with a answer to this question

 

i'm making a wynncraft Multi hit type attack

which deals damage and knoback every tick

the damage I manage already to overpass minecraft immunity frames

but the knoback is something that i cannot reproduce 

could you help me?

 

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you could try by getting the…
Thu, 09/30/2021 - 21:01

you could try by getting the direction of the hit and making the target entity teleport to the opposite direction, but that is honestly just oversimplifying it

you could also try by making a sword tool type called Test or smt like that, and copy the Knockback Code on it, then on your procedure paste it on the block where you deal damage

Last seen on 06:21, 19. Apr 2024
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
the teleport one . is…
Thu, 09/30/2021 - 21:33

the teleport one . is something that i can done

Thanks i will start on it

(if you want. you can give me your MC nick?. I'll use for. something)

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
MC Nick?
Thu, 09/30/2021 - 21:44

MC Nick?