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 Link icon

    • LOGGER Link icon

      static final Logger LOGGER
    • recordingQueue Link icon

      private static final ConcurrentLinkedQueue<RenderCall> recordingQueue
    • RENDER_THREAD_TESSELATOR Link icon

      private static final Tessellator RENDER_THREAD_TESSELATOR
    • MINIMUM_ATLAS_TEXTURE_SIZE Link icon

      private static final int MINIMUM_ATLAS_TEXTURE_SIZE
      See Also:
    • renderThread Link icon

      @Nullable private static @Nullable Thread renderThread
    • MAX_SUPPORTED_TEXTURE_SIZE Link icon

      private static int MAX_SUPPORTED_TEXTURE_SIZE
    • isInInit Link icon

      private static boolean isInInit
    • lastDrawTime Link icon

      private static double lastDrawTime
    • sharedSequential Link icon

      private static final RenderSystem.ShapeIndexBuffer sharedSequential
    • sharedSequentialQuad Link icon

      private static final RenderSystem.ShapeIndexBuffer sharedSequentialQuad
    • sharedSequentialLines Link icon

      private static final RenderSystem.ShapeIndexBuffer sharedSequentialLines
    • projectionMatrix Link icon

      private static Matrix4f projectionMatrix
    • savedProjectionMatrix Link icon

      private static Matrix4f savedProjectionMatrix
    • projectionType Link icon

      private static ProjectionType projectionType
    • savedProjectionType Link icon

      private static ProjectionType savedProjectionType
    • modelViewStack Link icon

      private static final Matrix4fStack modelViewStack
    • textureMatrix Link icon

      private static Matrix4f textureMatrix
    • shaderTextures Link icon

      private static final int[] shaderTextures
    • shaderColor Link icon

      private static final float[] shaderColor
    • shaderGlintAlpha Link icon

      private static float shaderGlintAlpha
    • shaderFog Link icon

      private static Fog shaderFog
    • shaderLightDirections Link icon

      private static final Vector3f[] shaderLightDirections
    • shaderGameTime Link icon

      private static float shaderGameTime
    • shaderLineWidth Link icon

      private static float shaderLineWidth
    • apiDescription Link icon

      private static String apiDescription
    • shader Link icon

      @Nullable private static @Nullable ShaderProgram shader
    • pollEventsWaitStart Link icon

      private static final AtomicLong pollEventsWaitStart
    • pollingEvents Link icon

      private static final AtomicBoolean pollingEvents
  • Constructor Details Link icon

    • RenderSystem Link icon

      public RenderSystem()
  • Method Details Link icon

    • initRenderThread Link icon

      public static void initRenderThread()
    • isOnRenderThread Link icon

      public static boolean isOnRenderThread()
    • isOnRenderThreadOrInit Link icon

      public static boolean isOnRenderThreadOrInit()
    • assertOnRenderThreadOrInit Link icon

      public static void assertOnRenderThreadOrInit()
    • assertOnRenderThread Link icon

      public static void assertOnRenderThread()
    • constructThreadException Link icon

      private static IllegalStateException constructThreadException()
    • recordRenderCall Link icon

      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(Lffa;)V
    • pollEvents Link icon

      private static void pollEvents()
    • isFrozenAtPollEvents Link icon

      public static boolean isFrozenAtPollEvents()
    • flipFrame Link icon

      public static void flipFrame(long window, @Nullable @Nullable TracyFrameCapturer capturer)
      Mappings:
      Namespace Name Mixin selector
      named flipFrame Lcom/mojang/blaze3d/systems/RenderSystem;flipFrame(JLnet/minecraft/client/util/tracy/TracyFrameCapturer;)V
      intermediary flipFrame Lcom/mojang/blaze3d/systems/RenderSystem;flipFrame(JLnet/minecraft/class_10219;)V
      official flipFrame Lcom/mojang/blaze3d/systems/RenderSystem;flipFrame(JLfec;)V
    • replayQueue Link icon

      public static void replayQueue()
    • limitDisplayFPS Link icon

      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 Link icon

      public static void disableDepthTest()
    • enableDepthTest Link icon

      public static void enableDepthTest()
    • enableScissor Link icon

      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 Link icon

      public static void disableScissor()
    • depthFunc Link icon

      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 Link icon

      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 Link icon

      public static void enableBlend()
    • disableBlend Link icon

      public static void disableBlend()
    • blendFunc Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      public static void enableCull()
    • disableCull Link icon

      public static void disableCull()
    • polygonMode Link icon

      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 Link icon

      public static void enablePolygonOffset()
    • disablePolygonOffset Link icon

      public static void disablePolygonOffset()
    • polygonOffset Link icon

      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 Link icon

      public static void enableColorLogicOp()
    • disableColorLogicOp Link icon

      public static void disableColorLogicOp()
    • logicOp Link icon

      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$h;)V
    • activeTexture Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

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

      public static void setShaderFog(Fog fog)
    • getShaderFog Link icon

      public static Fog getShaderFog()
    • setShaderGlintAlpha Link icon

      public static void setShaderGlintAlpha(double double2)
    • setShaderGlintAlpha Link icon

      public static void setShaderGlintAlpha(float float2)
    • getShaderGlintAlpha Link icon

      public static float getShaderGlintAlpha()
    • setShaderLights Link icon

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

      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(Lgkt;)V
    • setShaderColor Link icon

      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
    • getShaderColor Link icon

      public static float[] getShaderColor()
    • drawElements Link icon

      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 Link icon

      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 Link icon

      public static float getShaderLineWidth()
    • pixelStore Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      public static String getBackendDescription()
    • getApiDescription Link icon

      public static String getApiDescription()
    • initBackendSystem Link icon

      public static TimeSupplier.Nanoseconds initBackendSystem()
    • initRenderer Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      public static String getCapsString()
    • setupDefaultState Link icon

      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 Link icon

      public static int maxSupportedTextureSize()
    • glBindBuffer Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      public static void teardownOverlayColor()
    • setupLevelDiffuseLighting Link icon

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

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

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

      public static void beginInitialization()
    • finishInitialization Link icon

      public static void finishInitialization()
    • renderThreadTesselator Link icon

      public static Tessellator renderThreadTesselator()
    • defaultBlendFunc Link icon

      public static void defaultBlendFunc()
    • overlayBlendFunc Link icon

      public static void overlayBlendFunc()
    • setShader Link icon

      @Nullable public static @Nullable ShaderProgram setShader(ShaderProgramKey shaderProgramKey)
    • setShader Link icon

      public static void setShader(ShaderProgram shaderProgram)
      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(Lnet/minecraft/client/gl/ShaderProgram;)V
      intermediary setShader Lcom/mojang/blaze3d/systems/RenderSystem;setShader(Lnet/minecraft/class_5944;)V
      official setShader Lcom/mojang/blaze3d/systems/RenderSystem;setShader(Lgkt;)V
    • clearShader Link icon

      public static void clearShader()
    • getShader Link icon

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

      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(ILalz;)V
    • setShaderTexture Link icon

      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 Link icon

      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 Link icon

      public static void setProjectionMatrix(Matrix4f projectionMatrix, ProjectionType projectionType)
      Mappings:
      Namespace Name Mixin selector
      named setProjectionMatrix Lcom/mojang/blaze3d/systems/RenderSystem;setProjectionMatrix(Lorg/joml/Matrix4f;Lcom/mojang/blaze3d/systems/ProjectionType;)V
      intermediary setProjectionMatrix Lcom/mojang/blaze3d/systems/RenderSystem;setProjectionMatrix(Lorg/joml/Matrix4f;Lnet/minecraft/class_10366;)V
      official setProjectionMatrix Lcom/mojang/blaze3d/systems/RenderSystem;setProjectionMatrix(Lorg/joml/Matrix4f;Lfea;)V
    • setTextureMatrix Link icon

      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 Link icon

      public static void resetTextureMatrix()
    • backupProjectionMatrix Link icon

      public static void backupProjectionMatrix()
    • restoreProjectionMatrix Link icon

      public static void restoreProjectionMatrix()
    • getProjectionMatrix Link icon

      public static Matrix4f getProjectionMatrix()
    • getModelViewMatrix Link icon

      public static Matrix4f getModelViewMatrix()
    • getModelViewStack Link icon

      public static Matrix4fStack getModelViewStack()
    • getTextureMatrix Link icon

      public static Matrix4f getTextureMatrix()
    • getSequentialBuffer Link icon

      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(Lfgw$c;)Lcom/mojang/blaze3d/systems/RenderSystem$a;
    • setShaderGameTime Link icon

      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 Link icon

      public static float getShaderGameTime()
    • getProjectionType Link icon

      public static ProjectionType getProjectionType()