Started by
Tryak
on
Topic category: Help with Minecraft modding (Java Edition)
I'm trying to make a musket and I want a smoke particle to appear on the tip of the musket after you shoot it. So far I can only spawn a particle on the player, can anyone help?
its quite complicated to explain the math, but you'll need to do some math to transform the entity's body and arm rotations plus the weapon's offsets to world coordinates, and then spawn the particles there.
also, the above only gets you the coordinates in 3rd person view. you'll also need a whole other set of calculations to get the 1st person view coordinates.
are you the real ahzmb? if you are it is a honor to meet you!