Spawning Entities at the Right Side of the Player

Started by jive on

Topic category: Help with modding (Java Edition)

Last seen on 07:30, 20. Feb 2023
Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Spawning Entities at the Right Side of the Player
Tue, 02/07/2023 - 06:16 (edited)

I've noticed my laser beam entities spawn from the player's centermass:

My goal is to have this entity to spawn and fire off its animation at the right side of the player to give the illusion that it's firing from the glove.

There have been attempts to remedy this with flat raytracing blocks but my brain has proved too smooth to figure out how to accomplish this. I'm unable to reliably spawn the beam entities at the player's right side and a search through the forums have proven fruitless. Any help would be greatly appreciated!

Edited by jive on Tue, 02/07/2023 - 06:16