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
    • 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
    • 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
    • projectionType

      private static ProjectionType projectionType
    • savedProjectionType

      private static ProjectionType savedProjectionType
    • modelViewStack

      private static final Matrix4fStack modelViewStack
    • textureMatrix

      private static Matrix4f textureMatrix
    • shaderTextures

      private static final DrawableTexture[] shaderTextures
    • shaderColor

      private static final float[] shaderColor
    • shaderGlintAlpha

      private static float shaderGlintAlpha
    • shaderFog

      private static Fog shaderFog
    • shaderLightDirections

      private static final Vector3f[] shaderLightDirections
    • shaderGameTime

      private static float shaderGameTime
    • modelOffset

      private static final Vector3f modelOffset
    • shaderLineWidth

      private static float shaderLineWidth
    • apiDescription

      private static String apiDescription
    • pollEventsWaitStart

      private static final AtomicLong pollEventsWaitStart
    • pollingEvents

      private static final AtomicBoolean pollingEvents
    • QUAD_VERTICES

      @Nullable private static @Nullable VertexBuffer QUAD_VERTICES
  • Constructor Details

    • RenderSystem

      public RenderSystem()
  • Method Details

    • initRenderThread

      public static void initRenderThread()
    • isOnRenderThread

      public static boolean isOnRenderThread()
    • assertOnRenderThread

      public static void assertOnRenderThread()
    • constructThreadException

      private static IllegalStateException constructThreadException()
    • pollEvents

      private static void pollEvents()
    • isFrozenAtPollEvents

      public static boolean isFrozenAtPollEvents()
    • flipFrame

      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(JLfhd;)V
    • 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()
    • blendFuncSeparate

      public static void blendFuncSeparate(GlStateManager.SrcFactor srcFactor, GlStateManager.DstFactor dstFactor, GlStateManager.SrcFactor srcFactor2, GlStateManager.DstFactor dstFactor2)
    • 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$h;)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
    • 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
    • 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
    • clear

      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

      public static void setShaderFog(Fog fog)
    • getShaderFog

      public static Fog getShaderFog()
    • setShaderGlintAlpha

      public static void setShaderGlintAlpha(double double2)
    • setShaderGlintAlpha

      public static void setShaderGlintAlpha(float float2)
    • getShaderGlintAlpha

      public static float getShaderGlintAlpha()
    • 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(Lgpv;)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
    • 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
    • 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()
    • 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
    • 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
    • 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
    • glUniformMatrix4

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

      public static void setupOverlayColor(@Nullable @Nullable DrawableTexture drawableTexture)
    • 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)
    • defaultBlendFunc

      public static void defaultBlendFunc()
    • 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(ILalg;)V
    • setShaderTexture

      public static void setShaderTexture(int texture, @Nullable @Nullable DrawableTexture drawableTexture)
      Mappings:
      Namespace Name Mixin selector
      named setShaderTexture Lcom/mojang/blaze3d/systems/RenderSystem;setShaderTexture(ILnet/minecraft/client/texture/DrawableTexture;)V
      intermediary setShaderTexture Lcom/mojang/blaze3d/systems/RenderSystem;setShaderTexture(ILnet/minecraft/class_10792;)V
      official setShaderTexture Lcom/mojang/blaze3d/systems/RenderSystem;setShaderTexture(ILfjr;)V
    • getShaderTexture

      @Nullable public static @Nullable DrawableTexture getShaderTexture(int texture)
      Mappings:
      Namespace Name Mixin selector
      named getShaderTexture Lcom/mojang/blaze3d/systems/RenderSystem;getShaderTexture(I)Lnet/minecraft/client/texture/DrawableTexture;
      intermediary getShaderTexture Lcom/mojang/blaze3d/systems/RenderSystem;getShaderTexture(I)Lnet/minecraft/class_10792;
      official getShaderTexture Lcom/mojang/blaze3d/systems/RenderSystem;getShaderTexture(I)Lfjr;
    • setProjectionMatrix

      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;Lfhb;)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()
    • backupProjectionMatrix

      public static void backupProjectionMatrix()
    • restoreProjectionMatrix

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

      public static void setShaderGameTime(long time, float tickProgress)
      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()
    • getProjectionType

      public static ProjectionType getProjectionType()
    • getQuadVertices

      public static VertexBuffer getQuadVertices()
    • setModelOffset

      public static void setModelOffset(float float2, float float3, float float4)
    • resetModelOffset

      public static void resetModelOffset()
    • getModelOffset

      public static Vector3f getModelOffset()