1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-11-23 16:44:50 +00:00

Add back map rendering

Closes #357. Also bump Forge and mappings versions - it includes a
couple of bug fixes we need.
This commit is contained in:
SquidDev
2020-04-10 21:17:31 +01:00
parent 649acbae1c
commit f4f71185ae
15 changed files with 244 additions and 297 deletions

View File

@@ -167,10 +167,10 @@ public final class PrintoutRenderer
private static final class Type extends RenderState
{
static final RenderType TYPE = RenderType.get(
static final RenderType TYPE = RenderType.makeType(
"printout_background", DefaultVertexFormats.POSITION_TEX, GL11.GL_QUADS, 1024,
false, false, // useDelegate, needsSorting
RenderType.State.builder()
RenderType.State.getBuilder()
.texture( new RenderState.TextureState( BG, false, false ) ) // blur, minimap
.alpha( DEFAULT_ALPHA )
.lightmap( LIGHTMAP_DISABLED )