1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-01-12 10:20:28 +00:00

Make monitor text glow in the dark

This commit is contained in:
SquidDev 2017-05-04 22:24:39 +01:00
parent 17a3e120e8
commit 933bdcc6b7
3 changed files with 4 additions and 0 deletions

View File

@ -104,6 +104,7 @@ public class TileEntityMonitorRenderer extends TileEntitySpecialRenderer<TileMon
// Draw the contents // Draw the contents
GlStateManager.depthMask( false ); GlStateManager.depthMask( false );
GlStateManager.disableLighting(); GlStateManager.disableLighting();
mc.entityRenderer.disableLightmap();
try try
{ {
if( terminal != null ) if( terminal != null )
@ -256,6 +257,7 @@ public class TileEntityMonitorRenderer extends TileEntitySpecialRenderer<TileMon
finally finally
{ {
GlStateManager.depthMask( true ); GlStateManager.depthMask( true );
mc.entityRenderer.enableLightmap();
GlStateManager.enableLighting(); GlStateManager.enableLighting();
} }

View File

@ -3,6 +3,7 @@ New Features in ComputerCraft 1.80:
* Added .getResponseHeaders() to HTTP responses. * Added .getResponseHeaders() to HTTP responses.
* Return a HTTP response when a HTTP error occurs. * Return a HTTP response when a HTTP error occurs.
* Added a GUI to change ComputerCraft config options * Added a GUI to change ComputerCraft config options
* Monitor text now glows in the dark
New Features in ComputerCraft 1.79: New Features in ComputerCraft 1.79:

View File

@ -3,5 +3,6 @@ New Features in ComputerCraft 1.80:
* Added .getResponseHeaders() to HTTP responses. * Added .getResponseHeaders() to HTTP responses.
* Return a HTTP response when a HTTP error occurs. * Return a HTTP response when a HTTP error occurs.
* Added a GUI to change ComputerCraft config options * Added a GUI to change ComputerCraft config options
* Monitor text now glows in the dark
Type "help changelog" to see the full version history. Type "help changelog" to see the full version history.