Laserlike Attack for Custom Mob

Started by xTremQuick on

Topic category: Help with MCreator software

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Laserlike Attack for Custom Mob

Hey there!

For a dimension I created I want custom mobs that float and shoot laser-like attacks at the player. I have no Idea on how to do this.

I created the Mob with texture and made it fly, but I want a Laser-like attack. I want it to either have the guardian laser attack or another custom attack in which it looks at the player, tracks a straight line to him(I want to fill the line with particles then) and then damages the player

thanks for help in advance

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Got another idea on this: I…
Wed, 07/19/2023 - 20:33

Got another idea on this: I could create a ranged wepon that upon use, it gets the raytrace of where the user looks, and if there is an entity at the trace it damages this entity. But I have not idea on how to stop the trace if there is an entity. Any ideas on this?