To prevent particle rotations from being interpolated by MC, set prevRotationPitch and prevRotationYaw as well
This commit is contained in:
@@ -98,8 +98,8 @@ public class CameraEntity extends EntityPlayer {
|
|||||||
if(ReplayHandler.getCameraEntity() != null && mc.thePlayer != null
|
if(ReplayHandler.getCameraEntity() != null && mc.thePlayer != null
|
||||||
&& mc.getRenderViewEntity() != null) {
|
&& mc.getRenderViewEntity() != null) {
|
||||||
//Aligns the particle rotation
|
//Aligns the particle rotation
|
||||||
mc.thePlayer.rotationPitch = mc.getRenderViewEntity().rotationPitch;
|
mc.thePlayer.rotationPitch = mc.thePlayer.prevRotationPitch = mc.getRenderViewEntity().rotationPitch;
|
||||||
mc.thePlayer.rotationYaw = mc.getRenderViewEntity().rotationYaw;
|
mc.thePlayer.rotationYaw = mc.thePlayer.prevRotationYaw = mc.getRenderViewEntity().rotationYaw;
|
||||||
|
|
||||||
//removes water/suffocation/shadow overlays in screen
|
//removes water/suffocation/shadow overlays in screen
|
||||||
mc.thePlayer.setPosition(0, 500, 0);
|
mc.thePlayer.setPosition(0, 500, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user