Class RenderSystem

java.lang.Object
com.mojang.blaze3d.systems.RenderSystem

@Environment(CLIENT) public class RenderSystem extends Object
Mappings:
Namespace Name
named com/mojang/blaze3d/systems/RenderSystem
intermediary com/mojang/blaze3d/systems/RenderSystem
official com/mojang/blaze3d/systems/RenderSystem
  • Field Details

    • LOGGER

      static final Logger LOGGER
    • recordingQueue

      private static final ConcurrentLinkedQueue<RenderCall> recordingQueue
    • RENDER_THREAD_TESSELATOR

      private static final Tessellator RENDER_THREAD_TESSELATOR
    • MINIMUM_ATLAS_TEXTURE_SIZE

      private static final int MINIMUM_ATLAS_TEXTURE_SIZE
      See Also:
    • renderThread

      @Nullable private static @Nullable Thread renderThread
    • MAX_SUPPORTED_TEXTURE_SIZE

      private static int MAX_SUPPORTED_TEXTURE_SIZE
    • isInInit

      private static boolean isInInit
    • lastDrawTime

      private static double lastDrawTime
    • sharedSequential

      private static final RenderSystem.ShapeIndexBuffer sharedSequential
    • sharedSequentialQuad

      private static final RenderSystem.ShapeIndexBuffer sharedSequentialQuad
    • sharedSequentialLines

      private static final RenderSystem.ShapeIndexBuffer sharedSequentialLines
    • projectionMatrix

      private static Matrix4f projectionMatrix
    • savedProjectionMatrix

      private static Matrix4f savedProjectionMatrix
    • vertexSorting

      private static VertexSorter vertexSorting
    • savedVertexSorting

      private static VertexSorter savedVertexSorting
    • modelViewStack

      private static final Matrix4fStack modelViewStack
    • modelViewMatrix

      private static Matrix4f modelViewMatrix
    • textureMatrix

      private static Matrix4f textureMatrix
    • shaderTextures

      private static final int[] shaderTextures
    • shaderColor

      private static final float[] shaderColor
    • shaderGlintAlpha

      private static float shaderGlintAlpha
    • shaderFogStart

      private static float shaderFogStart
    • shaderFogEnd

      private static float shaderFogEnd
    • shaderFogColor

      private static final float[] shaderFogColor
    • shaderFogShape

      private static FogShape shaderFogShape
    • shaderLightDirections

      private static final Vector3f[] shaderLightDirections
    • shaderGameTime

      private static float shaderGameTime
    • shaderLineWidth

      private static float shaderLineWidth
    • apiDescription

      private static String apiDescription
    • shader

      @Nullable private static @Nullable ShaderProgram shader
    • pollEventsWaitStart

      private static final AtomicLong pollEventsWaitStart
    • pollingEvents

      private static final AtomicBoolean pollingEvents
  • Constructor Details

    • RenderSystem

      public RenderSystem()
  • Method Details

    • initRenderThread

      public static void initRenderThread()
    • isOnRenderThread

      public static boolean isOnRenderThread()
    • isOnRenderThreadOrInit

      public static boolean isOnRenderThreadOrInit()
    • assertOnRenderThreadOrInit

      public static void assertOnRenderThreadOrInit()
    • assertOnRenderThread

      public static void assertOnRenderThread()
    • constructThreadException

      private static IllegalStateException constructThreadException()
    • recordRenderCall

      public static void recordRenderCall(RenderCall renderCall)
      Mappings:
      Namespace Name Mixin selector
      named recordRenderCall Lcom/mojang/blaze3d/systems/RenderSystem;recordRenderCall(Lcom/mojang/blaze3d/systems/RenderCall;)V
      intermediary recordRenderCall Lcom/mojang/blaze3d/systems/RenderSystem;recordRenderCall(Lnet/minecraft/class_4573;)V
      official recordRenderCall Lcom/mojang/blaze3d/systems/RenderSystem;recordRenderCall(Lezt;)V
    • pollEvents

      private static void pollEvents()
    • isFrozenAtPollEvents

      public static boolean isFrozenAtPollEvents()
    • flipFrame

      public static void flipFrame(long window)
      Mappings:
      Namespace Name Mixin selector
      named flipFrame Lcom/mojang/blaze3d/systems/RenderSystem;flipFrame(J)V
      intermediary flipFrame Lcom/mojang/blaze3d/systems/RenderSystem;flipFrame(J)V
      official flipFrame Lcom/mojang/blaze3d/systems/RenderSystem;flipFrame(J)V
    • replayQueue

      public static void replayQueue()
    • limitDisplayFPS

      public static void limitDisplayFPS(int fps)
      Mappings:
      Namespace Name Mixin selector
      named limitDisplayFPS Lcom/mojang/blaze3d/systems/RenderSystem;limitDisplayFPS(I)V
      intermediary limitDisplayFPS Lcom/mojang/blaze3d/systems/RenderSystem;limitDisplayFPS(I)V
      official limitDisplayFPS Lcom/mojang/blaze3d/systems/RenderSystem;limitDisplayFPS(I)V
    • disableDepthTest

      public static void disableDepthTest()
    • enableDepthTest

      public static void enableDepthTest()
    • enableScissor

      public static void enableScissor(int x, int y, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      named enableScissor Lcom/mojang/blaze3d/systems/RenderSystem;enableScissor(IIII)V
      intermediary enableScissor Lcom/mojang/blaze3d/systems/RenderSystem;enableScissor(IIII)V
      official enableScissor Lcom/mojang/blaze3d/systems/RenderSystem;enableScissor(IIII)V
    • disableScissor

      public static void disableScissor()
    • depthFunc

      public static void depthFunc(int func)
      Mappings:
      Namespace Name Mixin selector
      named depthFunc Lcom/mojang/blaze3d/systems/RenderSystem;depthFunc(I)V
      intermediary depthFunc Lcom/mojang/blaze3d/systems/RenderSystem;depthFunc(I)V
      official depthFunc Lcom/mojang/blaze3d/systems/RenderSystem;depthFunc(I)V
    • depthMask

      public static void depthMask(boolean mask)
      Mappings:
      Namespace Name Mixin selector
      named depthMask Lcom/mojang/blaze3d/systems/RenderSystem;depthMask(Z)V
      intermediary depthMask Lcom/mojang/blaze3d/systems/RenderSystem;depthMask(Z)V
      official depthMask Lcom/mojang/blaze3d/systems/RenderSystem;depthMask(Z)V
    • enableBlend

      public static void enableBlend()
    • disableBlend

      public static void disableBlend()
    • blendFunc

      public static void blendFunc(GlStateManager.SrcFactor srcFactor, GlStateManager.DstFactor dstFactor)
      Mappings:
      Namespace Name Mixin selector
      named blendFunc Lcom/mojang/blaze3d/systems/RenderSystem;blendFunc(Lcom/mojang/blaze3d/platform/GlStateManager$SrcFactor;Lcom/mojang/blaze3d/platform/GlStateManager$DstFactor;)V
      intermediary blendFunc Lcom/mojang/blaze3d/systems/RenderSystem;blendFunc(Lcom/mojang/blaze3d/platform/GlStateManager$class_4535;Lcom/mojang/blaze3d/platform/GlStateManager$class_4534;)V
      official blendFunc Lcom/mojang/blaze3d/systems/RenderSystem;blendFunc(Lcom/mojang/blaze3d/platform/GlStateManager$SourceFactor;Lcom/mojang/blaze3d/platform/GlStateManager$DestFactor;)V
    • blendFunc

      public static void blendFunc(int srcFactor, int dstFactor)
      Mappings:
      Namespace Name Mixin selector
      named blendFunc Lcom/mojang/blaze3d/systems/RenderSystem;blendFunc(II)V
      intermediary blendFunc Lcom/mojang/blaze3d/systems/RenderSystem;blendFunc(II)V
      official blendFunc Lcom/mojang/blaze3d/systems/RenderSystem;blendFunc(II)V
    • blendFuncSeparate

      public static void blendFuncSeparate(GlStateManager.SrcFactor srcFactor, GlStateManager.DstFactor dstFactor, GlStateManager.SrcFactor srcAlpha, GlStateManager.DstFactor dstAlpha)
      Mappings:
      Namespace Name Mixin selector
      named blendFuncSeparate Lcom/mojang/blaze3d/systems/RenderSystem;blendFuncSeparate(Lcom/mojang/blaze3d/platform/GlStateManager$SrcFactor;Lcom/mojang/blaze3d/platform/GlStateManager$DstFactor;Lcom/mojang/blaze3d/platform/GlStateManager$SrcFactor;Lcom/mojang/blaze3d/platform/GlStateManager$DstFactor;)V
      intermediary blendFuncSeparate Lcom/mojang/blaze3d/systems/RenderSystem;blendFuncSeparate(Lcom/mojang/blaze3d/platform/GlStateManager$class_4535;Lcom/mojang/blaze3d/platform/GlStateManager$class_4534;Lcom/mojang/blaze3d/platform/GlStateManager$class_4535;Lcom/mojang/blaze3d/platform/GlStateManager$class_4534;)V
      official blendFuncSeparate Lcom/mojang/blaze3d/systems/RenderSystem;blendFuncSeparate(Lcom/mojang/blaze3d/platform/GlStateManager$SourceFactor;Lcom/mojang/blaze3d/platform/GlStateManager$DestFactor;Lcom/mojang/blaze3d/platform/GlStateManager$SourceFactor;Lcom/mojang/blaze3d/platform/GlStateManager$DestFactor;)V
    • blendFuncSeparate

      public static void blendFuncSeparate(int srcFactorRGB, int dstFactorRGB, int srcFactorAlpha, int dstFactorAlpha)
      Mappings:
      Namespace Name Mixin selector
      named blendFuncSeparate Lcom/mojang/blaze3d/systems/RenderSystem;blendFuncSeparate(IIII)V
      intermediary blendFuncSeparate Lcom/mojang/blaze3d/systems/RenderSystem;blendFuncSeparate(IIII)V
      official blendFuncSeparate Lcom/mojang/blaze3d/systems/RenderSystem;blendFuncSeparate(IIII)V
    • blendEquation

      public static void blendEquation(int mode)
      Mappings:
      Namespace Name Mixin selector
      named blendEquation Lcom/mojang/blaze3d/systems/RenderSystem;blendEquation(I)V
      intermediary blendEquation Lcom/mojang/blaze3d/systems/RenderSystem;blendEquation(I)V
      official blendEquation Lcom/mojang/blaze3d/systems/RenderSystem;blendEquation(I)V
    • enableCull

      public static void enableCull()
    • disableCull

      public static void disableCull()
    • polygonMode

      public static void polygonMode(int face, int mode)
      Mappings:
      Namespace Name Mixin selector
      named polygonMode Lcom/mojang/blaze3d/systems/RenderSystem;polygonMode(II)V
      intermediary polygonMode Lcom/mojang/blaze3d/systems/RenderSystem;polygonMode(II)V
      official polygonMode Lcom/mojang/blaze3d/systems/RenderSystem;polygonMode(II)V
    • enablePolygonOffset

      public static void enablePolygonOffset()
    • disablePolygonOffset

      public static void disablePolygonOffset()
    • polygonOffset

      public static void polygonOffset(float factor, float units)
      Mappings:
      Namespace Name Mixin selector
      named polygonOffset Lcom/mojang/blaze3d/systems/RenderSystem;polygonOffset(FF)V
      intermediary polygonOffset Lcom/mojang/blaze3d/systems/RenderSystem;polygonOffset(FF)V
      official polygonOffset Lcom/mojang/blaze3d/systems/RenderSystem;polygonOffset(FF)V
    • enableColorLogicOp

      public static void enableColorLogicOp()
    • disableColorLogicOp

      public static void disableColorLogicOp()
    • logicOp

      public static void logicOp(GlStateManager.LogicOp op)
      Mappings:
      Namespace Name Mixin selector
      named logicOp Lcom/mojang/blaze3d/systems/RenderSystem;logicOp(Lcom/mojang/blaze3d/platform/GlStateManager$LogicOp;)V
      intermediary logicOp Lcom/mojang/blaze3d/systems/RenderSystem;logicOp(Lcom/mojang/blaze3d/platform/GlStateManager$class_1030;)V
      official logicOp Lcom/mojang/blaze3d/systems/RenderSystem;logicOp(Lcom/mojang/blaze3d/platform/GlStateManager$g;)V
    • activeTexture

      public static void activeTexture(int texture)
      Mappings:
      Namespace Name Mixin selector
      named activeTexture Lcom/mojang/blaze3d/systems/RenderSystem;activeTexture(I)V
      intermediary activeTexture Lcom/mojang/blaze3d/systems/RenderSystem;activeTexture(I)V
      official activeTexture Lcom/mojang/blaze3d/systems/RenderSystem;activeTexture(I)V
    • texParameter

      public static void texParameter(int target, int pname, int param)
      Mappings:
      Namespace Name Mixin selector
      named texParameter Lcom/mojang/blaze3d/systems/RenderSystem;texParameter(III)V
      intermediary texParameter Lcom/mojang/blaze3d/systems/RenderSystem;texParameter(III)V
      official texParameter Lcom/mojang/blaze3d/systems/RenderSystem;texParameter(III)V
    • deleteTexture

      public static void deleteTexture(int texture)
      Mappings:
      Namespace Name Mixin selector
      named deleteTexture Lcom/mojang/blaze3d/systems/RenderSystem;deleteTexture(I)V
      intermediary deleteTexture Lcom/mojang/blaze3d/systems/RenderSystem;deleteTexture(I)V
      official deleteTexture Lcom/mojang/blaze3d/systems/RenderSystem;deleteTexture(I)V
    • bindTextureForSetup

      public static void bindTextureForSetup(int id)
      Mappings:
      Namespace Name Mixin selector
      named bindTextureForSetup Lcom/mojang/blaze3d/systems/RenderSystem;bindTextureForSetup(I)V
      intermediary bindTextureForSetup Lcom/mojang/blaze3d/systems/RenderSystem;bindTextureForSetup(I)V
      official bindTextureForSetup Lcom/mojang/blaze3d/systems/RenderSystem;bindTextureForSetup(I)V
    • bindTexture

      public static void bindTexture(int texture)
      Mappings:
      Namespace Name Mixin selector
      named bindTexture Lcom/mojang/blaze3d/systems/RenderSystem;bindTexture(I)V
      intermediary bindTexture Lcom/mojang/blaze3d/systems/RenderSystem;bindTexture(I)V
      official bindTexture Lcom/mojang/blaze3d/systems/RenderSystem;bindTexture(I)V
    • viewport

      public static void viewport(int x, int y, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      named viewport Lcom/mojang/blaze3d/systems/RenderSystem;viewport(IIII)V
      intermediary viewport Lcom/mojang/blaze3d/systems/RenderSystem;viewport(IIII)V
      official viewport Lcom/mojang/blaze3d/systems/RenderSystem;viewport(IIII)V
    • colorMask

      public static void colorMask(boolean red, boolean green, boolean blue, boolean alpha)
      Mappings:
      Namespace Name Mixin selector
      named colorMask Lcom/mojang/blaze3d/systems/RenderSystem;colorMask(ZZZZ)V
      intermediary colorMask Lcom/mojang/blaze3d/systems/RenderSystem;colorMask(ZZZZ)V
      official colorMask Lcom/mojang/blaze3d/systems/RenderSystem;colorMask(ZZZZ)V
    • stencilFunc

      public static void stencilFunc(int func, int ref, int mask)
      Mappings:
      Namespace Name Mixin selector
      named stencilFunc Lcom/mojang/blaze3d/systems/RenderSystem;stencilFunc(III)V
      intermediary stencilFunc Lcom/mojang/blaze3d/systems/RenderSystem;stencilFunc(III)V
      official stencilFunc Lcom/mojang/blaze3d/systems/RenderSystem;stencilFunc(III)V
    • stencilMask

      public static void stencilMask(int mask)
      Mappings:
      Namespace Name Mixin selector
      named stencilMask Lcom/mojang/blaze3d/systems/RenderSystem;stencilMask(I)V
      intermediary stencilMask Lcom/mojang/blaze3d/systems/RenderSystem;stencilMask(I)V
      official stencilMask Lcom/mojang/blaze3d/systems/RenderSystem;stencilMask(I)V
    • stencilOp

      public static void stencilOp(int sfail, int dpfail, int dppass)
      Mappings:
      Namespace Name Mixin selector
      named stencilOp Lcom/mojang/blaze3d/systems/RenderSystem;stencilOp(III)V
      intermediary stencilOp Lcom/mojang/blaze3d/systems/RenderSystem;stencilOp(III)V
      official stencilOp Lcom/mojang/blaze3d/systems/RenderSystem;stencilOp(III)V
    • clearDepth

      public static void clearDepth(double depth)
      Mappings:
      Namespace Name Mixin selector
      named clearDepth Lcom/mojang/blaze3d/systems/RenderSystem;clearDepth(D)V
      intermediary clearDepth Lcom/mojang/blaze3d/systems/RenderSystem;clearDepth(D)V
      official clearDepth Lcom/mojang/blaze3d/systems/RenderSystem;clearDepth(D)V
    • clearColor

      public static void clearColor(float red, float green, float blue, float alpha)
      Mappings:
      Namespace Name Mixin selector
      named clearColor Lcom/mojang/blaze3d/systems/RenderSystem;clearColor(FFFF)V
      intermediary clearColor Lcom/mojang/blaze3d/systems/RenderSystem;clearColor(FFFF)V
      official clearColor Lcom/mojang/blaze3d/systems/RenderSystem;clearColor(FFFF)V
    • clearStencil

      public static void clearStencil(int stencil)
      Mappings:
      Namespace Name Mixin selector
      named clearStencil Lcom/mojang/blaze3d/systems/RenderSystem;clearStencil(I)V
      intermediary clearStencil Lcom/mojang/blaze3d/systems/RenderSystem;clearStencil(I)V
      official clearStencil Lcom/mojang/blaze3d/systems/RenderSystem;clearStencil(I)V
    • clear

      public static void clear(int mask, boolean getError)
      Mappings:
      Namespace Name Mixin selector
      named clear Lcom/mojang/blaze3d/systems/RenderSystem;clear(IZ)V
      intermediary clear Lcom/mojang/blaze3d/systems/RenderSystem;clear(IZ)V
      official clear Lcom/mojang/blaze3d/systems/RenderSystem;clear(IZ)V
    • setShaderFogStart

      public static void setShaderFogStart(float shaderFogStart)
      Mappings:
      Namespace Name Mixin selector
      named setShaderFogStart Lcom/mojang/blaze3d/systems/RenderSystem;setShaderFogStart(F)V
      intermediary setShaderFogStart Lcom/mojang/blaze3d/systems/RenderSystem;setShaderFogStart(F)V
      official setShaderFogStart Lcom/mojang/blaze3d/systems/RenderSystem;setShaderFogStart(F)V
    • getShaderFogStart

      public static float getShaderFogStart()
    • setShaderGlintAlpha

      public static void setShaderGlintAlpha(double double2)
    • setShaderGlintAlpha

      public static void setShaderGlintAlpha(float float2)
    • getShaderGlintAlpha

      public static float getShaderGlintAlpha()
    • setShaderFogEnd

      public static void setShaderFogEnd(float shaderFogEnd)
      Mappings:
      Namespace Name Mixin selector
      named setShaderFogEnd Lcom/mojang/blaze3d/systems/RenderSystem;setShaderFogEnd(F)V
      intermediary setShaderFogEnd Lcom/mojang/blaze3d/systems/RenderSystem;setShaderFogEnd(F)V
      official setShaderFogEnd Lcom/mojang/blaze3d/systems/RenderSystem;setShaderFogEnd(F)V
    • getShaderFogEnd

      public static float getShaderFogEnd()
    • setShaderFogColor

      public static void setShaderFogColor(float red, float green, float blue, float alpha)
      Mappings:
      Namespace Name Mixin selector
      named setShaderFogColor Lcom/mojang/blaze3d/systems/RenderSystem;setShaderFogColor(FFFF)V
      intermediary setShaderFogColor Lcom/mojang/blaze3d/systems/RenderSystem;setShaderFogColor(FFFF)V
      official setShaderFogColor Lcom/mojang/blaze3d/systems/RenderSystem;setShaderFogColor(FFFF)V
    • setShaderFogColor

      public static void setShaderFogColor(float red, float green, float blue)
      Mappings:
      Namespace Name Mixin selector
      named setShaderFogColor Lcom/mojang/blaze3d/systems/RenderSystem;setShaderFogColor(FFF)V
      intermediary setShaderFogColor Lcom/mojang/blaze3d/systems/RenderSystem;setShaderFogColor(FFF)V
      official setShaderFogColor Lcom/mojang/blaze3d/systems/RenderSystem;setShaderFogColor(FFF)V
    • getShaderFogColor

      public static float[] getShaderFogColor()
    • setShaderFogShape

      public static void setShaderFogShape(FogShape shaderFogShape)
      Mappings:
      Namespace Name Mixin selector
      named setShaderFogShape Lcom/mojang/blaze3d/systems/RenderSystem;setShaderFogShape(Lnet/minecraft/client/render/FogShape;)V
      intermediary setShaderFogShape Lcom/mojang/blaze3d/systems/RenderSystem;setShaderFogShape(Lnet/minecraft/class_6854;)V
      official setShaderFogShape Lcom/mojang/blaze3d/systems/RenderSystem;setShaderFogShape(Lfav;)V
    • getShaderFogShape

      public static FogShape getShaderFogShape()
    • setShaderLights

      public static void setShaderLights(Vector3f vector3f, Vector3f vector3f2)
    • setupShaderLights

      public static void setupShaderLights(ShaderProgram shader)
      Mappings:
      Namespace Name Mixin selector
      named setupShaderLights Lcom/mojang/blaze3d/systems/RenderSystem;setupShaderLights(Lnet/minecraft/client/gl/ShaderProgram;)V
      intermediary setupShaderLights Lcom/mojang/blaze3d/systems/RenderSystem;setupShaderLights(Lnet/minecraft/class_5944;)V
      official setupShaderLights Lcom/mojang/blaze3d/systems/RenderSystem;setupShaderLights(Lgfn;)V
    • setShaderColor

      public static void setShaderColor(float red, float green, float blue, float alpha)
      Mappings:
      Namespace Name Mixin selector
      named setShaderColor Lcom/mojang/blaze3d/systems/RenderSystem;setShaderColor(FFFF)V
      intermediary setShaderColor Lcom/mojang/blaze3d/systems/RenderSystem;setShaderColor(FFFF)V
      official setShaderColor Lcom/mojang/blaze3d/systems/RenderSystem;setShaderColor(FFFF)V
    • _setShaderColor

      private static void _setShaderColor(float red, float green, float blue, float alpha)
      Mappings:
      Namespace Name Mixin selector
      named _setShaderColor Lcom/mojang/blaze3d/systems/RenderSystem;_setShaderColor(FFFF)V
      intermediary _setShaderColor Lcom/mojang/blaze3d/systems/RenderSystem;_setShaderColor(FFFF)V
      official _setShaderColor Lcom/mojang/blaze3d/systems/RenderSystem;_setShaderColor(FFFF)V
    • getShaderColor

      public static float[] getShaderColor()
    • drawElements

      public static void drawElements(int mode, int count, int type)
      Mappings:
      Namespace Name Mixin selector
      named drawElements Lcom/mojang/blaze3d/systems/RenderSystem;drawElements(III)V
      intermediary drawElements Lcom/mojang/blaze3d/systems/RenderSystem;drawElements(III)V
      official drawElements Lcom/mojang/blaze3d/systems/RenderSystem;drawElements(III)V
    • lineWidth

      public static void lineWidth(float width)
      Mappings:
      Namespace Name Mixin selector
      named lineWidth Lcom/mojang/blaze3d/systems/RenderSystem;lineWidth(F)V
      intermediary lineWidth Lcom/mojang/blaze3d/systems/RenderSystem;lineWidth(F)V
      official lineWidth Lcom/mojang/blaze3d/systems/RenderSystem;lineWidth(F)V
    • getShaderLineWidth

      public static float getShaderLineWidth()
    • pixelStore

      public static void pixelStore(int pname, int param)
      Mappings:
      Namespace Name Mixin selector
      named pixelStore Lcom/mojang/blaze3d/systems/RenderSystem;pixelStore(II)V
      intermediary pixelStore Lcom/mojang/blaze3d/systems/RenderSystem;pixelStore(II)V
      official pixelStore Lcom/mojang/blaze3d/systems/RenderSystem;pixelStore(II)V
    • readPixels

      public static void readPixels(int x, int y, int width, int height, int format, int type, ByteBuffer pixels)
      Mappings:
      Namespace Name Mixin selector
      named readPixels Lcom/mojang/blaze3d/systems/RenderSystem;readPixels(IIIIIILjava/nio/ByteBuffer;)V
      intermediary readPixels Lcom/mojang/blaze3d/systems/RenderSystem;readPixels(IIIIIILjava/nio/ByteBuffer;)V
      official readPixels Lcom/mojang/blaze3d/systems/RenderSystem;readPixels(IIIIIILjava/nio/ByteBuffer;)V
    • getString

      public static void getString(int name, Consumer<String> consumer)
      Mappings:
      Namespace Name Mixin selector
      named getString Lcom/mojang/blaze3d/systems/RenderSystem;getString(ILjava/util/function/Consumer;)V
      intermediary getString Lcom/mojang/blaze3d/systems/RenderSystem;getString(ILjava/util/function/Consumer;)V
      official getString Lcom/mojang/blaze3d/systems/RenderSystem;getString(ILjava/util/function/Consumer;)V
    • getBackendDescription

      public static String getBackendDescription()
    • getApiDescription

      public static String getApiDescription()
    • initBackendSystem

      public static TimeSupplier.Nanoseconds initBackendSystem()
    • initRenderer

      public static void initRenderer(int debugVerbosity, boolean debugSync)
      Mappings:
      Namespace Name Mixin selector
      named initRenderer Lcom/mojang/blaze3d/systems/RenderSystem;initRenderer(IZ)V
      intermediary initRenderer Lcom/mojang/blaze3d/systems/RenderSystem;initRenderer(IZ)V
      official initRenderer Lcom/mojang/blaze3d/systems/RenderSystem;initRenderer(IZ)V
    • setErrorCallback

      public static void setErrorCallback(GLFWErrorCallbackI callback)
      Mappings:
      Namespace Name Mixin selector
      named setErrorCallback Lcom/mojang/blaze3d/systems/RenderSystem;setErrorCallback(Lorg/lwjgl/glfw/GLFWErrorCallbackI;)V
      intermediary setErrorCallback Lcom/mojang/blaze3d/systems/RenderSystem;setErrorCallback(Lorg/lwjgl/glfw/GLFWErrorCallbackI;)V
      official setErrorCallback Lcom/mojang/blaze3d/systems/RenderSystem;setErrorCallback(Lorg/lwjgl/glfw/GLFWErrorCallbackI;)V
    • renderCrosshair

      public static void renderCrosshair(int size)
      Mappings:
      Namespace Name Mixin selector
      named renderCrosshair Lcom/mojang/blaze3d/systems/RenderSystem;renderCrosshair(I)V
      intermediary renderCrosshair Lcom/mojang/blaze3d/systems/RenderSystem;renderCrosshair(I)V
      official renderCrosshair Lcom/mojang/blaze3d/systems/RenderSystem;renderCrosshair(I)V
    • getCapsString

      public static String getCapsString()
    • setupDefaultState

      public static void setupDefaultState(int x, int y, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      named setupDefaultState Lcom/mojang/blaze3d/systems/RenderSystem;setupDefaultState(IIII)V
      intermediary setupDefaultState Lcom/mojang/blaze3d/systems/RenderSystem;setupDefaultState(IIII)V
      official setupDefaultState Lcom/mojang/blaze3d/systems/RenderSystem;setupDefaultState(IIII)V
    • maxSupportedTextureSize

      public static int maxSupportedTextureSize()
    • glBindBuffer

      public static void glBindBuffer(int target, int buffer)
      Mappings:
      Namespace Name Mixin selector
      named glBindBuffer Lcom/mojang/blaze3d/systems/RenderSystem;glBindBuffer(II)V
      intermediary glBindBuffer Lcom/mojang/blaze3d/systems/RenderSystem;glBindBuffer(II)V
      official glBindBuffer Lcom/mojang/blaze3d/systems/RenderSystem;glBindBuffer(II)V
    • glBindVertexArray

      public static void glBindVertexArray(int array)
      Mappings:
      Namespace Name Mixin selector
      named glBindVertexArray Lcom/mojang/blaze3d/systems/RenderSystem;glBindVertexArray(I)V
      intermediary glBindVertexArray Lcom/mojang/blaze3d/systems/RenderSystem;glBindVertexArray(I)V
      official glBindVertexArray Lcom/mojang/blaze3d/systems/RenderSystem;glBindVertexArray(I)V
    • glBufferData

      public static void glBufferData(int target, ByteBuffer data, int usage)
      Mappings:
      Namespace Name Mixin selector
      named glBufferData Lcom/mojang/blaze3d/systems/RenderSystem;glBufferData(ILjava/nio/ByteBuffer;I)V
      intermediary glBufferData Lcom/mojang/blaze3d/systems/RenderSystem;glBufferData(ILjava/nio/ByteBuffer;I)V
      official glBufferData Lcom/mojang/blaze3d/systems/RenderSystem;glBufferData(ILjava/nio/ByteBuffer;I)V
    • glDeleteBuffers

      public static void glDeleteBuffers(int buffer)
      Mappings:
      Namespace Name Mixin selector
      named glDeleteBuffers Lcom/mojang/blaze3d/systems/RenderSystem;glDeleteBuffers(I)V
      intermediary glDeleteBuffers Lcom/mojang/blaze3d/systems/RenderSystem;glDeleteBuffers(I)V
      official glDeleteBuffers Lcom/mojang/blaze3d/systems/RenderSystem;glDeleteBuffers(I)V
    • glDeleteVertexArrays

      public static void glDeleteVertexArrays(int array)
      Mappings:
      Namespace Name Mixin selector
      named glDeleteVertexArrays Lcom/mojang/blaze3d/systems/RenderSystem;glDeleteVertexArrays(I)V
      intermediary glDeleteVertexArrays Lcom/mojang/blaze3d/systems/RenderSystem;glDeleteVertexArrays(I)V
      official glDeleteVertexArrays Lcom/mojang/blaze3d/systems/RenderSystem;glDeleteVertexArrays(I)V
    • glUniform1i

      public static void glUniform1i(int location, int value)
      Mappings:
      Namespace Name Mixin selector
      named glUniform1i Lcom/mojang/blaze3d/systems/RenderSystem;glUniform1i(II)V
      intermediary glUniform1i Lcom/mojang/blaze3d/systems/RenderSystem;glUniform1i(II)V
      official glUniform1i Lcom/mojang/blaze3d/systems/RenderSystem;glUniform1i(II)V
    • glUniform1

      public static void glUniform1(int location, IntBuffer value)
      Mappings:
      Namespace Name Mixin selector
      named glUniform1 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform1(ILjava/nio/IntBuffer;)V
      intermediary glUniform1 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform1(ILjava/nio/IntBuffer;)V
      official glUniform1 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform1(ILjava/nio/IntBuffer;)V
    • glUniform2

      public static void glUniform2(int location, IntBuffer value)
      Mappings:
      Namespace Name Mixin selector
      named glUniform2 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform2(ILjava/nio/IntBuffer;)V
      intermediary glUniform2 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform2(ILjava/nio/IntBuffer;)V
      official glUniform2 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform2(ILjava/nio/IntBuffer;)V
    • glUniform3

      public static void glUniform3(int location, IntBuffer value)
      Mappings:
      Namespace Name Mixin selector
      named glUniform3 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform3(ILjava/nio/IntBuffer;)V
      intermediary glUniform3 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform3(ILjava/nio/IntBuffer;)V
      official glUniform3 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform3(ILjava/nio/IntBuffer;)V
    • glUniform4

      public static void glUniform4(int location, IntBuffer value)
      Mappings:
      Namespace Name Mixin selector
      named glUniform4 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform4(ILjava/nio/IntBuffer;)V
      intermediary glUniform4 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform4(ILjava/nio/IntBuffer;)V
      official glUniform4 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform4(ILjava/nio/IntBuffer;)V
    • glUniform1

      public static void glUniform1(int location, FloatBuffer value)
      Mappings:
      Namespace Name Mixin selector
      named glUniform1 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform1(ILjava/nio/FloatBuffer;)V
      intermediary glUniform1 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform1(ILjava/nio/FloatBuffer;)V
      official glUniform1 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform1(ILjava/nio/FloatBuffer;)V
    • glUniform2

      public static void glUniform2(int location, FloatBuffer value)
      Mappings:
      Namespace Name Mixin selector
      named glUniform2 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform2(ILjava/nio/FloatBuffer;)V
      intermediary glUniform2 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform2(ILjava/nio/FloatBuffer;)V
      official glUniform2 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform2(ILjava/nio/FloatBuffer;)V
    • glUniform3

      public static void glUniform3(int location, FloatBuffer value)
      Mappings:
      Namespace Name Mixin selector
      named glUniform3 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform3(ILjava/nio/FloatBuffer;)V
      intermediary glUniform3 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform3(ILjava/nio/FloatBuffer;)V
      official glUniform3 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform3(ILjava/nio/FloatBuffer;)V
    • glUniform4

      public static void glUniform4(int location, FloatBuffer value)
      Mappings:
      Namespace Name Mixin selector
      named glUniform4 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform4(ILjava/nio/FloatBuffer;)V
      intermediary glUniform4 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform4(ILjava/nio/FloatBuffer;)V
      official glUniform4 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform4(ILjava/nio/FloatBuffer;)V
    • glUniformMatrix2

      public static void glUniformMatrix2(int location, boolean transpose, FloatBuffer value)
      Mappings:
      Namespace Name Mixin selector
      named glUniformMatrix2 Lcom/mojang/blaze3d/systems/RenderSystem;glUniformMatrix2(IZLjava/nio/FloatBuffer;)V
      intermediary glUniformMatrix2 Lcom/mojang/blaze3d/systems/RenderSystem;glUniformMatrix2(IZLjava/nio/FloatBuffer;)V
      official glUniformMatrix2 Lcom/mojang/blaze3d/systems/RenderSystem;glUniformMatrix2(IZLjava/nio/FloatBuffer;)V
    • glUniformMatrix3

      public static void glUniformMatrix3(int location, boolean transpose, FloatBuffer value)
      Mappings:
      Namespace Name Mixin selector
      named glUniformMatrix3 Lcom/mojang/blaze3d/systems/RenderSystem;glUniformMatrix3(IZLjava/nio/FloatBuffer;)V
      intermediary glUniformMatrix3 Lcom/mojang/blaze3d/systems/RenderSystem;glUniformMatrix3(IZLjava/nio/FloatBuffer;)V
      official glUniformMatrix3 Lcom/mojang/blaze3d/systems/RenderSystem;glUniformMatrix3(IZLjava/nio/FloatBuffer;)V
    • glUniformMatrix4

      public static void glUniformMatrix4(int location, boolean transpose, FloatBuffer value)
      Mappings:
      Namespace Name Mixin selector
      named glUniformMatrix4 Lcom/mojang/blaze3d/systems/RenderSystem;glUniformMatrix4(IZLjava/nio/FloatBuffer;)V
      intermediary glUniformMatrix4 Lcom/mojang/blaze3d/systems/RenderSystem;glUniformMatrix4(IZLjava/nio/FloatBuffer;)V
      official glUniformMatrix4 Lcom/mojang/blaze3d/systems/RenderSystem;glUniformMatrix4(IZLjava/nio/FloatBuffer;)V
    • setupOverlayColor

      public static void setupOverlayColor(int texture, int size)
      Mappings:
      Namespace Name Mixin selector
      named setupOverlayColor Lcom/mojang/blaze3d/systems/RenderSystem;setupOverlayColor(II)V
      intermediary setupOverlayColor Lcom/mojang/blaze3d/systems/RenderSystem;setupOverlayColor(II)V
      official setupOverlayColor Lcom/mojang/blaze3d/systems/RenderSystem;setupOverlayColor(II)V
    • teardownOverlayColor

      public static void teardownOverlayColor()
    • setupLevelDiffuseLighting

      public static void setupLevelDiffuseLighting(Vector3f vector3f, Vector3f vector3f2)
    • setupGuiFlatDiffuseLighting

      public static void setupGuiFlatDiffuseLighting(Vector3f vector3f, Vector3f vector3f2)
    • setupGui3DDiffuseLighting

      public static void setupGui3DDiffuseLighting(Vector3f vector3f, Vector3f vector3f2)
    • beginInitialization

      public static void beginInitialization()
    • finishInitialization

      public static void finishInitialization()
    • glGenBuffers

      public static void glGenBuffers(Consumer<Integer> consumer)
      Mappings:
      Namespace Name Mixin selector
      named glGenBuffers Lcom/mojang/blaze3d/systems/RenderSystem;glGenBuffers(Ljava/util/function/Consumer;)V
      intermediary glGenBuffers Lcom/mojang/blaze3d/systems/RenderSystem;glGenBuffers(Ljava/util/function/Consumer;)V
      official glGenBuffers Lcom/mojang/blaze3d/systems/RenderSystem;glGenBuffers(Ljava/util/function/Consumer;)V
    • glGenVertexArrays

      public static void glGenVertexArrays(Consumer<Integer> consumer)
      Mappings:
      Namespace Name Mixin selector
      named glGenVertexArrays Lcom/mojang/blaze3d/systems/RenderSystem;glGenVertexArrays(Ljava/util/function/Consumer;)V
      intermediary glGenVertexArrays Lcom/mojang/blaze3d/systems/RenderSystem;glGenVertexArrays(Ljava/util/function/Consumer;)V
      official glGenVertexArrays Lcom/mojang/blaze3d/systems/RenderSystem;glGenVertexArrays(Ljava/util/function/Consumer;)V
    • renderThreadTesselator

      public static Tessellator renderThreadTesselator()
    • defaultBlendFunc

      public static void defaultBlendFunc()
    • runAsFancy

      @Deprecated public static void runAsFancy(Runnable runnable)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      named runAsFancy Lcom/mojang/blaze3d/systems/RenderSystem;runAsFancy(Ljava/lang/Runnable;)V
      intermediary runAsFancy Lcom/mojang/blaze3d/systems/RenderSystem;runAsFancy(Ljava/lang/Runnable;)V
      official runAsFancy Lcom/mojang/blaze3d/systems/RenderSystem;runAsFancy(Ljava/lang/Runnable;)V
    • setShader

      public static void setShader(Supplier<ShaderProgram> program)
      Sets the RenderSystem's global shader program.

      Note that this sets both the vertex shader and the fragment shader indirectly through the given shader program. The name of this method is not obfuscated and is kept as is.

      Mappings:
      Namespace Name Mixin selector
      named setShader Lcom/mojang/blaze3d/systems/RenderSystem;setShader(Ljava/util/function/Supplier;)V
      intermediary setShader Lcom/mojang/blaze3d/systems/RenderSystem;setShader(Ljava/util/function/Supplier;)V
      official setShader Lcom/mojang/blaze3d/systems/RenderSystem;setShader(Ljava/util/function/Supplier;)V
    • getShader

      @Nullable public static @Nullable ShaderProgram getShader()
    • setShaderTexture

      public static void setShaderTexture(int texture, Identifier id)
      Mappings:
      Namespace Name Mixin selector
      named setShaderTexture Lcom/mojang/blaze3d/systems/RenderSystem;setShaderTexture(ILnet/minecraft/util/Identifier;)V
      intermediary setShaderTexture Lcom/mojang/blaze3d/systems/RenderSystem;setShaderTexture(ILnet/minecraft/class_2960;)V
      official setShaderTexture Lcom/mojang/blaze3d/systems/RenderSystem;setShaderTexture(ILakr;)V
    • _setShaderTexture

      public static void _setShaderTexture(int texture, Identifier id)
      Mappings:
      Namespace Name Mixin selector
      named _setShaderTexture Lcom/mojang/blaze3d/systems/RenderSystem;_setShaderTexture(ILnet/minecraft/util/Identifier;)V
      intermediary _setShaderTexture Lcom/mojang/blaze3d/systems/RenderSystem;_setShaderTexture(ILnet/minecraft/class_2960;)V
      official _setShaderTexture Lcom/mojang/blaze3d/systems/RenderSystem;_setShaderTexture(ILakr;)V
    • setShaderTexture

      public static void setShaderTexture(int texture, int glId)
      Mappings:
      Namespace Name Mixin selector
      named setShaderTexture Lcom/mojang/blaze3d/systems/RenderSystem;setShaderTexture(II)V
      intermediary setShaderTexture Lcom/mojang/blaze3d/systems/RenderSystem;setShaderTexture(II)V
      official setShaderTexture Lcom/mojang/blaze3d/systems/RenderSystem;setShaderTexture(II)V
    • _setShaderTexture

      public static void _setShaderTexture(int texture, int glId)
      Mappings:
      Namespace Name Mixin selector
      named _setShaderTexture Lcom/mojang/blaze3d/systems/RenderSystem;_setShaderTexture(II)V
      intermediary _setShaderTexture Lcom/mojang/blaze3d/systems/RenderSystem;_setShaderTexture(II)V
      official _setShaderTexture Lcom/mojang/blaze3d/systems/RenderSystem;_setShaderTexture(II)V
    • getShaderTexture

      public static int getShaderTexture(int texture)
      Mappings:
      Namespace Name Mixin selector
      named getShaderTexture Lcom/mojang/blaze3d/systems/RenderSystem;getShaderTexture(I)I
      intermediary getShaderTexture Lcom/mojang/blaze3d/systems/RenderSystem;getShaderTexture(I)I
      official getShaderTexture Lcom/mojang/blaze3d/systems/RenderSystem;getShaderTexture(I)I
    • setProjectionMatrix

      public static void setProjectionMatrix(Matrix4f projectionMatrix, VertexSorter vertexSorting)
      Mappings:
      Namespace Name Mixin selector
      named setProjectionMatrix Lcom/mojang/blaze3d/systems/RenderSystem;setProjectionMatrix(Lorg/joml/Matrix4f;Lcom/mojang/blaze3d/systems/VertexSorter;)V
      intermediary setProjectionMatrix Lcom/mojang/blaze3d/systems/RenderSystem;setProjectionMatrix(Lorg/joml/Matrix4f;Lnet/minecraft/class_8251;)V
      official setProjectionMatrix Lcom/mojang/blaze3d/systems/RenderSystem;setProjectionMatrix(Lorg/joml/Matrix4f;Lfbq;)V
    • setTextureMatrix

      public static void setTextureMatrix(Matrix4f textureMatrix)
      Mappings:
      Namespace Name Mixin selector
      named setTextureMatrix Lcom/mojang/blaze3d/systems/RenderSystem;setTextureMatrix(Lorg/joml/Matrix4f;)V
      intermediary setTextureMatrix Lcom/mojang/blaze3d/systems/RenderSystem;setTextureMatrix(Lorg/joml/Matrix4f;)V
      official setTextureMatrix Lcom/mojang/blaze3d/systems/RenderSystem;setTextureMatrix(Lorg/joml/Matrix4f;)V
    • resetTextureMatrix

      public static void resetTextureMatrix()
    • applyModelViewMatrix

      public static void applyModelViewMatrix()
    • backupProjectionMatrix

      public static void backupProjectionMatrix()
    • _backupProjectionMatrix

      private static void _backupProjectionMatrix()
    • restoreProjectionMatrix

      public static void restoreProjectionMatrix()
    • _restoreProjectionMatrix

      private static void _restoreProjectionMatrix()
    • getProjectionMatrix

      public static Matrix4f getProjectionMatrix()
    • getModelViewMatrix

      public static Matrix4f getModelViewMatrix()
    • getModelViewStack

      public static Matrix4fStack getModelViewStack()
    • getTextureMatrix

      public static Matrix4f getTextureMatrix()
    • getSequentialBuffer

      public static RenderSystem.ShapeIndexBuffer getSequentialBuffer(VertexFormat.DrawMode drawMode)
      Mappings:
      Namespace Name Mixin selector
      named getSequentialBuffer Lcom/mojang/blaze3d/systems/RenderSystem;getSequentialBuffer(Lnet/minecraft/client/render/VertexFormat$DrawMode;)Lcom/mojang/blaze3d/systems/RenderSystem$ShapeIndexBuffer;
      intermediary getSequentialBuffer Lcom/mojang/blaze3d/systems/RenderSystem;getSequentialBuffer(Lnet/minecraft/class_293$class_5596;)Lcom/mojang/blaze3d/systems/RenderSystem$class_5590;
      official getSequentialBuffer Lcom/mojang/blaze3d/systems/RenderSystem;getSequentialBuffer(Lfbn$c;)Lcom/mojang/blaze3d/systems/RenderSystem$a;
    • setShaderGameTime

      public static void setShaderGameTime(long time, float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      named setShaderGameTime Lcom/mojang/blaze3d/systems/RenderSystem;setShaderGameTime(JF)V
      intermediary setShaderGameTime Lcom/mojang/blaze3d/systems/RenderSystem;setShaderGameTime(JF)V
      official setShaderGameTime Lcom/mojang/blaze3d/systems/RenderSystem;setShaderGameTime(JF)V
    • getShaderGameTime

      public static float getShaderGameTime()
    • getVertexSorting

      public static VertexSorter getVertexSorting()