Rendering issue when running and shooting laser
Opened this issue · 4 comments
That’s caused by the fov change. Same if you adjust the fov slider in options. I need to find a way to detect and correct that :)
things I'd think of:
- be lazy and make laser particle bursts instead of a continuous beam
- store the FOV as a variable and use the variable to translate the laser to the correct position (I believe you can find the value by looking at the code for the speed potion or running in general)
@Direwolf20-MC There is a player.getFovModifier which will return a 1.x value for different types of modifiers. Upon this you can also get the players Fov from Minecraft.getInstance().gameSettings.fov