is auto projectile dodge a thing that I can achieve?

Started by bolognaguy on

Topic category: Help with modding (Java Edition)

Last seen on 06:31, 21. Jan 2024
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
is auto projectile dodge a thing that I can achieve?

I want to make it so that when you have a specific perk equipped (I have the perk system in place and working) you can automatically dodge incoming projectiles, similar to how endermen work. can I achieve this? if so how could I go about doing that?

 

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you could A. disable…
Fri, 11/12/2021 - 02:12

you could

A. disable completely projectile damage

B. make it teleport if incoming damage is ranged

C. Hardcore Coding

I only know how to make A, and maybe B, so if you want a procedure tell me and give me like 30 mins

Last seen on 06:31, 21. Jan 2024
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I would like to see what you…
Fri, 11/12/2021 - 02:16

I would like to see what you come up with, and I'm thinking b is the best option for ultimate awesomeness.

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
okay give me 15 mins aprox…
Fri, 11/12/2021 - 02:29

okay give me 15 mins aprox as I am a bit busy rn

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
okay here you go https:/…
Fri, 11/12/2021 - 03:08

okay here you go

https://drive.google.com/file/d/125U0DBuGWoRkxwZ9V_-mbOKdJ37hhYli/view?…

and customize it if you want less or more movement, also add an AND to check if perk is on

I don't know if trigger is selected, but if not, select the trigger called Entity Attacked