How to make move an entity ?

Started by zorualeloupsolitaire on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make move an entity ?

Hi, I wanted to make an energy attack system and the idea I had was to use custom entities to make them appear via a right-click on the ground thanks to an item.

But the problem is that I'd like to make them move forward, about 5 blocks, and that everything that comes into contact with this custom entity, suffers damage and that after about 10 seconds, my custom entity disappears.

Does anyone know how to do this?

thanks in advance