mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-01-19 05:32:55 +00:00
Bump Forge version
This commit is contained in:
parent
8dd1c2a6cc
commit
761159aa93
@ -3,5 +3,5 @@ mod_version=1.83.1
|
||||
|
||||
# Minecraft properties
|
||||
mc_version=1.14.2
|
||||
forge_version=26.0.16
|
||||
mappings_version=20190609-1.14.2
|
||||
forge_version=26.0.25
|
||||
mappings_version=20190614-1.14.2
|
||||
|
@ -76,7 +76,7 @@ public final class CableHighlightRenderer
|
||||
? CableShapes.getModemShape( state )
|
||||
: CableShapes.getCableShape( state );
|
||||
|
||||
Vec3d cameraPos = info.func_216785_c();
|
||||
Vec3d cameraPos = info.getProjectedView();
|
||||
WorldRenderer.drawShape(
|
||||
shape, pos.getX() - cameraPos.getX(), pos.getY() - cameraPos.getY(), pos.getZ() - cameraPos.getZ(),
|
||||
0.0F, 0.0F, 0.0F, 0.4F
|
||||
|
@ -72,7 +72,7 @@ public final class MonitorHighlightRenderer
|
||||
GlStateManager.depthMask( false );
|
||||
GlStateManager.pushMatrix();
|
||||
|
||||
Vec3d cameraPos = event.getInfo().func_216785_c();
|
||||
Vec3d cameraPos = event.getInfo().getProjectedView();
|
||||
GlStateManager.translated( pos.getX() - cameraPos.getX(), pos.getY() - cameraPos.getY(), pos.getZ() - cameraPos.getZ() );
|
||||
|
||||
Tessellator tessellator = Tessellator.getInstance();
|
||||
|
@ -94,8 +94,7 @@ public class TileEntityTurtleRenderer extends TileEntityRenderer<TileTurtle>
|
||||
GameRenderer.drawNameplate(
|
||||
getFontRenderer(), label,
|
||||
(float) posX + 0.5F, (float) posY + 1.2F, (float) posZ + 0.5F, 0,
|
||||
// yaw, pitch
|
||||
rendererDispatcher.field_217666_g.func_216778_f(), rendererDispatcher.field_217666_g.func_216777_e(), false
|
||||
rendererDispatcher.renderInfo.getYaw(), rendererDispatcher.renderInfo.getPitch(), false
|
||||
);
|
||||
setLightmapDisabled( false );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user