Update to 26.1

This commit is contained in:
Jonas Herzig
2026-03-29 11:20:59 +02:00
parent b72fad4055
commit 27d5432fff
40 changed files with 667 additions and 58 deletions

View File

@@ -31,8 +31,23 @@ public abstract class MixinRenderManager {
copy.blockPos = org.blockPos;
copy.pos = org.pos;
copy.initialized = org.initialized;
//#if MC < 26.1
copy.entityPos = org.entityPos;
//#endif
copy.orientation.lookAlong((float) dx, (float) dy, (float) dz, 0f, 1f, 0f);
//#if MC >= 26.1
//$$ copy.xRot = org.xRot;
//$$ copy.yRot = org.yRot;
//$$ copy.isPanoramicMode = org.isPanoramicMode;
//$$ copy.cullFrustum.set(org.cullFrustum);
//$$ copy.fogType = org.fogType;
//$$ copy.fogData = org.fogData;
//$$ copy.hudFov = org.hudFov;
//$$ copy.depthFar = org.depthFar;
//$$ copy.projectionMatrix.set(org.projectionMatrix);
//$$ copy.viewRotationMatrix.set(org.viewRotationMatrix);
//$$ copy.entityRenderState = org.entityRenderState;
//#endif
cameraRenderStateRef.set(copy);
}
}