How to make custom attacks for moving entities

Started by dannycandler on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make custom attacks for moving entities

Okay so hi as the title said that is my problem. I have checked so many forums used GPT etc so this is my last resort, I use coding blocks and am eh at coding so yeah just to put that out I use MCreator 2024.1(lmk if it is possible in a future version) I am fine with coding custom attacks for stand still entities. I am wondering how to do so with entities that move, as in I have problems getting the entities XYZ position and referencing it in procedures. So practically like burst-fire attacks, explosion attacks, attacks that pull in the player, lifesteal attacks, you name it.

 

In conclusion I struggle referencing said entity in procedures. Both getting the XYZ and referencing it. I tried everything I could think of, hope you are having a great day, thanks.