#Laser beam

1 messages · Page 1 of 1 (latest)

stoic sedge
#

I want to make a laser beam on right click for my modded swords and staffs, but I don’t know the best way.

bitter pasture
#

You need to provide more detail. There is no "best" way to make a laser. Particles? Models? Shaders? All of the above?

vagrant beacon
#

A more precise description of the laser and its purpose would be helpful, as the easiest/best way will vary.

#

Doesn't neccesarily need that much detail. but the more people know about what you want to achieve the better they can help

stoic sedge
#

Ok, I want the laser to fire from the players current position to where they are looking, and it must do damage.

bitter pasture
#

That is helpful but how do you actually want the laser to look?

#

Since that’s the main thing being referenced.

stoic sedge
bitter pasture
#

Try checking vanilla src and I can take a look at it later

tawny vapor
#

The method that renders the beam in vanilla is EnderDragonEntityRenderer.renderCrystalBeam