Class GlStateManager

java.lang.Object
com.mojang.blaze3d.platform.GlStateManager

@Environment(CLIENT) public class GlStateManager extends Object
Allows calling the static methods in GL11 without actually touching it
Mappings:
Namespace Name
official cjm
intermediary net/minecraft/class_2403
named com/mojang/blaze3d/platform/GlStateManager
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static int
    Stores the currently active texture
    private static class_2404
     
    private static class_2406
     
    private static class_2406[]
     
    private static class_2411
     
    private static class_2405
     
    private static class_2413
     
    private static class_2414
     
    private static class_2412
     
    private static class_2415
     
    private static class_2409
     
    private static class_2420
     
    private static class_2407
     
    private static class_2417
     
    private static class_2406
     
    private static class_2421[]
     
    private static class_2406
     
    private static class_2410
     
    private static class_2408
     
    private static class_4987
     
    private static int
    Stores the shading mode
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    activeTexture(int texture)
    Sets the active texture unit
    static void
    alphaFunc(int func, float ref)
    Sets the alpha test function
    static void
    bindTexture(int texture)
    Binds a certain specified texture to a texturing target
    static void
    blendFunc(int srcFactor, int dstFactor)
    Sets pixel arithmetic
    static void
    blendFuncSeparate(int srcFactorRGB, int dstFactorRGB, int srcFactorAlpha, int dstFactorAlpha)
    Sets pixel arithmetic for RGB and alpha components separately
    static void
    callList(int listId)
    Executes a display list
    static void
    clear(int mode)
    Clears buffers to preset values
    static void
    Clears the current color
    static void
    clearColor(float red, float green, float blue, float alpha)
    Sets clear values for the color buffers
    static void
    clearDepth(double depth)
    Sets the clear value for the depth buffer
    static void
    color3f(float red, float green, float blue)
    Sets the current color without alpha
    static void
    color4f(float red, float green, float blue, float alpha)
    Sets the current color
    static void
    colorMask(boolean red, boolean green, boolean blue, boolean alpha)
    Enables or Disables writing of frame buffer color components
    static void
    colorMaterial(int face, int mode)
    Causes a material color to track the current color
    static void
    cullFace(int mode)
    Sets whether front- or back-facing facets can be culled
    static void
    deleteTexture(int texture)
    Deletes a certain specified texture
    static void
    depthFunc(int func)
    Sets the value used for depth buffer comparisons
    static void
    depthMask(boolean mask)
    Enables or disables writing into the depth buffer
    static void
    Disables alpha testing
    static void
    Enables implementing transparency within objects
    static void
    Disables color index rendering
    static void
    Disables tracking of the current color by the material color
    static void
    Disables Culling
    static void
    Disables depth testing
    static void
    Disables fog
    static void
    disableLight(int index)
    Disables lighting for a certain element
    static void
    Disables lighting
    static void
    Disables Normalize
    static void
    Disables Polygon offset
    static void
    Disables rescale
    static void
    Disables active texture units
    static void
    Enables alpha testing
    static void
    Disables implementing transparency within objects
    static void
    Enables color index rendering
    static void
    Enables tracking of the current color by the material color
    static void
    Enables culling
    static void
    Enables depth testing
    static void
    Enabled fog
    static void
    enableLight(int index)
    Enables lighting for a certain element
    static void
    Enables lighting
    static void
    Enables normalize
    static void
    Enables Polygon Offset
    static void
    Enables rescale
    static void
    Enables active texture units
    static void
    fogDensity(float density)
    Sets fog parameters
    static void
    fogEnd(float end)
    Sets fog parameters
    static void
    fogMode(int mode)
    Sets fog parameters
    static void
    fogStart(float start)
    Sets fog parameters
    static void
    getFloat(int mode, FloatBuffer buffer)
    Gets a float for a float buffer
    static int
    Generates texture names
    static void
    Replaces the current matrix with the identity matrix
    static void
    logicOp(int op)
    Sets a logical pixel operation for color index rendering
    static void
    matrixMode(int mode)
    Allows specifying which matrix is the current matrix
    static void
    method_9807(class_2418 class_2418)
     
    static void
    method_9808(class_2418 class_2418, int int2)
     
    static void
    method_9809(class_2418 class_2418, int int2, FloatBuffer floatBuffer)
     
    static void
    method_9821(class_2418 class_2418)
     
    private static class_2419
    method_9827(class_2418 class_2418)
     
    static void
    Multiplies the current matrix with the specified matrix
    static void
    ortho(double l, double r, double b, double t, double n, double f)
    Multiplies the current matrix with an orthographic matrix
    static void
    polygonOffset(float factor, float units)
    Sets the scale and units used to calculate depth values
    static void
    Pops the attribute stack
    static void
    Pops the current matrix stack
    static void
    Pushes the attribute stack
    static void
    Pushes the current matrix stack
    static void
    rotatef(float angle, float x, float y, float z)
    Multiplies the current matrix by a rotation matrix
    static void
    scaled(double x, double y, double z)
    Multiplies the current matrix by a general scaling matrix
    static void
    scalef(float x, float y, float z)
    Multiplies the current matrix by a general scaling matrix
    static void
    shadeModel(int mode)
    Sets shading mode as flat or smooth
    static void
    translated(double x, double y, double z)
    Multiplies the current matrix by a translation matrix
    static void
    translatef(float x, float y, float z)
    Multiplies the current matrix by a translation matrix
    static void
    viewPort(int x, int y, int width, int height)
    Sets the viewport

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • field_10708

      private static class_2404 field_10708
      Mappings:
      Namespace Name Mixin selector
      official a Lcjm;a:Lcjo;
      intermediary field_10708 Lnet/minecraft/class_2403;field_10708:Lnet/minecraft/class_2404;
      named field_10708 Lcom/mojang/blaze3d/platform/GlStateManager;field_10708:Lnet/minecraft/class_2404;
    • field_10709

      private static class_2406 field_10709
      Mappings:
      Namespace Name Mixin selector
      official b Lcjm;b:Lcjq;
      intermediary field_10709 Lnet/minecraft/class_2403;field_10709:Lnet/minecraft/class_2406;
      named field_10709 Lcom/mojang/blaze3d/platform/GlStateManager;field_10709:Lnet/minecraft/class_2406;
    • field_10710

      private static class_2406[] field_10710
      Mappings:
      Namespace Name Mixin selector
      official c Lcjm;c:[Lcjq;
      intermediary field_10710 Lnet/minecraft/class_2403;field_10710:[Lnet/minecraft/class_2406;
      named field_10710 Lcom/mojang/blaze3d/platform/GlStateManager;field_10710:[Lnet/minecraft/class_2406;
    • field_10711

      private static class_2411 field_10711
      Mappings:
      Namespace Name Mixin selector
      official d Lcjm;d:Lcjv;
      intermediary field_10711 Lnet/minecraft/class_2403;field_10711:Lnet/minecraft/class_2411;
      named field_10711 Lcom/mojang/blaze3d/platform/GlStateManager;field_10711:Lnet/minecraft/class_2411;
    • field_10712

      private static class_2405 field_10712
      Mappings:
      Namespace Name Mixin selector
      official e Lcjm;e:Lcjp;
      intermediary field_10712 Lnet/minecraft/class_2403;field_10712:Lnet/minecraft/class_2405;
      named field_10712 Lcom/mojang/blaze3d/platform/GlStateManager;field_10712:Lnet/minecraft/class_2405;
    • field_10713

      private static class_2413 field_10713
      Mappings:
      Namespace Name Mixin selector
      official f Lcjm;f:Lcjx;
      intermediary field_10713 Lnet/minecraft/class_2403;field_10713:Lnet/minecraft/class_2413;
      named field_10713 Lcom/mojang/blaze3d/platform/GlStateManager;field_10713:Lnet/minecraft/class_2413;
    • field_10714

      private static class_2414 field_10714
      Mappings:
      Namespace Name Mixin selector
      official g Lcjm;g:Lcjy;
      intermediary field_10714 Lnet/minecraft/class_2403;field_10714:Lnet/minecraft/class_2414;
      named field_10714 Lcom/mojang/blaze3d/platform/GlStateManager;field_10714:Lnet/minecraft/class_2414;
    • field_10715

      private static class_2412 field_10715
      Mappings:
      Namespace Name Mixin selector
      official h Lcjm;h:Lcjw;
      intermediary field_10715 Lnet/minecraft/class_2403;field_10715:Lnet/minecraft/class_2412;
      named field_10715 Lcom/mojang/blaze3d/platform/GlStateManager;field_10715:Lnet/minecraft/class_2412;
    • field_10716

      private static class_2415 field_10716
      Mappings:
      Namespace Name Mixin selector
      official i Lcjm;i:Lcjz;
      intermediary field_10716 Lnet/minecraft/class_2403;field_10716:Lnet/minecraft/class_2415;
      named field_10716 Lcom/mojang/blaze3d/platform/GlStateManager;field_10716:Lnet/minecraft/class_2415;
    • field_10717

      private static class_2409 field_10717
      Mappings:
      Namespace Name Mixin selector
      official j Lcjm;j:Lcjt;
      intermediary field_10717 Lnet/minecraft/class_2403;field_10717:Lnet/minecraft/class_2409;
      named field_10717 Lcom/mojang/blaze3d/platform/GlStateManager;field_10717:Lnet/minecraft/class_2409;
    • field_10718

      private static class_2420 field_10718
      Mappings:
      Namespace Name Mixin selector
      official k Lcjm;k:Lcke;
      intermediary field_10718 Lnet/minecraft/class_2403;field_10718:Lnet/minecraft/class_2420;
      named field_10718 Lcom/mojang/blaze3d/platform/GlStateManager;field_10718:Lnet/minecraft/class_2420;
    • field_10719

      private static class_2407 field_10719
      Mappings:
      Namespace Name Mixin selector
      official l Lcjm;l:Lcjr;
      intermediary field_10719 Lnet/minecraft/class_2403;field_10719:Lnet/minecraft/class_2407;
      named field_10719 Lcom/mojang/blaze3d/platform/GlStateManager;field_10719:Lnet/minecraft/class_2407;
    • field_10720

      private static class_2417 field_10720
      Mappings:
      Namespace Name Mixin selector
      official m Lcjm;m:Lckb;
      intermediary field_10720 Lnet/minecraft/class_2403;field_10720:Lnet/minecraft/class_2417;
      named field_10720 Lcom/mojang/blaze3d/platform/GlStateManager;field_10720:Lnet/minecraft/class_2417;
    • field_10721

      private static class_2406 field_10721
      Mappings:
      Namespace Name Mixin selector
      official n Lcjm;n:Lcjq;
      intermediary field_10721 Lnet/minecraft/class_2403;field_10721:Lnet/minecraft/class_2406;
      named field_10721 Lcom/mojang/blaze3d/platform/GlStateManager;field_10721:Lnet/minecraft/class_2406;
    • activeTexture

      private static int activeTexture
      Stores the currently active texture
      Mappings:
      Namespace Name Mixin selector
      official o Lcjm;o:I
      intermediary field_10722 Lnet/minecraft/class_2403;field_10722:I
      named activeTexture Lcom/mojang/blaze3d/platform/GlStateManager;activeTexture:I
    • field_10723

      private static class_2421[] field_10723
      Mappings:
      Namespace Name Mixin selector
      official p Lcjm;p:[Lckf;
      intermediary field_10723 Lnet/minecraft/class_2403;field_10723:[Lnet/minecraft/class_2421;
      named field_10723 Lcom/mojang/blaze3d/platform/GlStateManager;field_10723:[Lnet/minecraft/class_2421;
    • modelShadeMode

      private static int modelShadeMode
      Stores the shading mode
      Mappings:
      Namespace Name Mixin selector
      official q Lcjm;q:I
      intermediary field_10724 Lnet/minecraft/class_2403;field_10724:I
      named modelShadeMode Lcom/mojang/blaze3d/platform/GlStateManager;modelShadeMode:I
    • field_10725

      private static class_2406 field_10725
      Mappings:
      Namespace Name Mixin selector
      official r Lcjm;r:Lcjq;
      intermediary field_10725 Lnet/minecraft/class_2403;field_10725:Lnet/minecraft/class_2406;
      named field_10725 Lcom/mojang/blaze3d/platform/GlStateManager;field_10725:Lnet/minecraft/class_2406;
    • field_10726

      private static class_2410 field_10726
      Mappings:
      Namespace Name Mixin selector
      official s Lcjm;s:Lcju;
      intermediary field_10726 Lnet/minecraft/class_2403;field_10726:Lnet/minecraft/class_2410;
      named field_10726 Lcom/mojang/blaze3d/platform/GlStateManager;field_10726:Lnet/minecraft/class_2410;
    • field_10727

      private static class_2408 field_10727
      Mappings:
      Namespace Name Mixin selector
      official t Lcjm;t:Lcjs;
      intermediary field_10727 Lnet/minecraft/class_2403;field_10727:Lnet/minecraft/class_2408;
      named field_10727 Lcom/mojang/blaze3d/platform/GlStateManager;field_10727:Lnet/minecraft/class_2408;
    • field_22410

      private static class_4987 field_22410
      Mappings:
      Namespace Name Mixin selector
      official u Lcjm;u:Lckg;
      intermediary field_22410 Lnet/minecraft/class_2403;field_22410:Lnet/minecraft/class_4987;
      named field_22410 Lcom/mojang/blaze3d/platform/GlStateManager;field_22410:Lnet/minecraft/class_4987;
  • Constructor Details

    • GlStateManager

      public GlStateManager()
  • Method Details

    • pushLightingAttributes

      public static void pushLightingAttributes()
      Pushes the attribute stack
      Mappings:
      Namespace Name Mixin selector
      official a Lcjm;a()V
      intermediary method_9794 Lnet/minecraft/class_2403;method_9794()V
      named pushLightingAttributes Lcom/mojang/blaze3d/platform/GlStateManager;pushLightingAttributes()V
    • popAttributes

      public static void popAttributes()
      Pops the attribute stack
      Mappings:
      Namespace Name Mixin selector
      official b Lcjm;b()V
      intermediary method_9813 Lnet/minecraft/class_2403;method_9813()V
      named popAttributes Lcom/mojang/blaze3d/platform/GlStateManager;popAttributes()V
    • disableAlphaTest

      public static void disableAlphaTest()
      Disables alpha testing
      Mappings:
      Namespace Name Mixin selector
      official c Lcjm;c()V
      intermediary method_9822 Lnet/minecraft/class_2403;method_9822()V
      named disableAlphaTest Lcom/mojang/blaze3d/platform/GlStateManager;disableAlphaTest()V
    • enableAlphaTest

      public static void enableAlphaTest()
      Enables alpha testing
      Mappings:
      Namespace Name Mixin selector
      official d Lcjm;d()V
      intermediary method_9828 Lnet/minecraft/class_2403;method_9828()V
      named enableAlphaTest Lcom/mojang/blaze3d/platform/GlStateManager;enableAlphaTest()V
    • alphaFunc

      public static void alphaFunc(int func, float ref)
      Sets the alpha test function
      Mappings:
      Namespace Name Mixin selector
      official a Lcjm;a(IF)V
      intermediary method_9803 Lnet/minecraft/class_2403;method_9803(IF)V
      named alphaFunc Lcom/mojang/blaze3d/platform/GlStateManager;alphaFunc(IF)V
    • enableLighting

      public static void enableLighting()
      Enables lighting
      Mappings:
      Namespace Name Mixin selector
      official e Lcjm;e()V
      intermediary method_9830 Lnet/minecraft/class_2403;method_9830()V
      named enableLighting Lcom/mojang/blaze3d/platform/GlStateManager;enableLighting()V
    • disableLighting

      public static void disableLighting()
      Disables lighting
      Mappings:
      Namespace Name Mixin selector
      official f Lcjm;f()V
      intermediary method_9832 Lnet/minecraft/class_2403;method_9832()V
      named disableLighting Lcom/mojang/blaze3d/platform/GlStateManager;disableLighting()V
    • enableLight

      public static void enableLight(int index)
      Enables lighting for a certain element
      Mappings:
      Namespace Name Mixin selector
      official a Lcjm;a(I)V
      intermediary method_9802 Lnet/minecraft/class_2403;method_9802(I)V
      named enableLight Lcom/mojang/blaze3d/platform/GlStateManager;enableLight(I)V
    • disableLight

      public static void disableLight(int index)
      Disables lighting for a certain element
      Mappings:
      Namespace Name Mixin selector
      official b Lcjm;b(I)V
      intermediary method_9818 Lnet/minecraft/class_2403;method_9818(I)V
      named disableLight Lcom/mojang/blaze3d/platform/GlStateManager;disableLight(I)V
    • enableColorMaterial

      public static void enableColorMaterial()
      Enables tracking of the current color by the material color
      Mappings:
      Namespace Name Mixin selector
      official g Lcjm;g()V
      intermediary method_9834 Lnet/minecraft/class_2403;method_9834()V
      named enableColorMaterial Lcom/mojang/blaze3d/platform/GlStateManager;enableColorMaterial()V
    • disableColorMaterial

      public static void disableColorMaterial()
      Disables tracking of the current color by the material color
      Mappings:
      Namespace Name Mixin selector
      official h Lcjm;h()V
      intermediary method_9836 Lnet/minecraft/class_2403;method_9836()V
      named disableColorMaterial Lcom/mojang/blaze3d/platform/GlStateManager;disableColorMaterial()V
    • colorMaterial

      public static void colorMaterial(int face, int mode)
      Causes a material color to track the current color
      Mappings:
      Namespace Name Mixin selector
      official a Lcjm;a(II)V
      intermediary method_9804 Lnet/minecraft/class_2403;method_9804(II)V
      named colorMaterial Lcom/mojang/blaze3d/platform/GlStateManager;colorMaterial(II)V
    • disableDepthTest

      public static void disableDepthTest()
      Disables depth testing
      Mappings:
      Namespace Name Mixin selector
      official i Lcjm;i()V
      intermediary method_9838 Lnet/minecraft/class_2403;method_9838()V
      named disableDepthTest Lcom/mojang/blaze3d/platform/GlStateManager;disableDepthTest()V
    • enableDepthTest

      public static void enableDepthTest()
      Enables depth testing
      Mappings:
      Namespace Name Mixin selector
      official j Lcjm;j()V
      intermediary method_9840 Lnet/minecraft/class_2403;method_9840()V
      named enableDepthTest Lcom/mojang/blaze3d/platform/GlStateManager;enableDepthTest()V
    • depthFunc

      public static void depthFunc(int func)
      Sets the value used for depth buffer comparisons
      Mappings:
      Namespace Name Mixin selector
      official c Lcjm;c(I)V
      intermediary method_9826 Lnet/minecraft/class_2403;method_9826(I)V
      named depthFunc Lcom/mojang/blaze3d/platform/GlStateManager;depthFunc(I)V
    • depthMask

      public static void depthMask(boolean mask)
      Enables or disables writing into the depth buffer
      Mappings:
      Namespace Name Mixin selector
      official a Lcjm;a(Z)V
      intermediary method_9811 Lnet/minecraft/class_2403;method_9811(Z)V
      named depthMask Lcom/mojang/blaze3d/platform/GlStateManager;depthMask(Z)V
    • disableBlend

      public static void disableBlend()
      Enables implementing transparency within objects
      Mappings:
      Namespace Name Mixin selector
      official k Lcjm;k()V
      intermediary method_9842 Lnet/minecraft/class_2403;method_9842()V
      named disableBlend Lcom/mojang/blaze3d/platform/GlStateManager;disableBlend()V
    • enableBlend

      public static void enableBlend()
      Disables implementing transparency within objects
      Mappings:
      Namespace Name Mixin selector
      official l Lcjm;l()V
      intermediary method_9843 Lnet/minecraft/class_2403;method_9843()V
      named enableBlend Lcom/mojang/blaze3d/platform/GlStateManager;enableBlend()V
    • blendFunc

      public static void blendFunc(int srcFactor, int dstFactor)
      Sets pixel arithmetic
      Mappings:
      Namespace Name Mixin selector
      official b Lcjm;b(II)V
      intermediary method_9819 Lnet/minecraft/class_2403;method_9819(II)V
      named blendFunc Lcom/mojang/blaze3d/platform/GlStateManager;blendFunc(II)V
    • blendFuncSeparate

      public static void blendFuncSeparate(int srcFactorRGB, int dstFactorRGB, int srcFactorAlpha, int dstFactorAlpha)
      Sets pixel arithmetic for RGB and alpha components separately
      Mappings:
      Namespace Name Mixin selector
      official a Lcjm;a(IIII)V
      intermediary method_9805 Lnet/minecraft/class_2403;method_9805(IIII)V
      named blendFuncSeparate Lcom/mojang/blaze3d/platform/GlStateManager;blendFuncSeparate(IIII)V
    • enableFog

      public static void enableFog()
      Enabled fog
      Mappings:
      Namespace Name Mixin selector
      official m Lcjm;m()V
      intermediary method_9844 Lnet/minecraft/class_2403;method_9844()V
      named enableFog Lcom/mojang/blaze3d/platform/GlStateManager;enableFog()V
    • disableFog

      public static void disableFog()
      Disables fog
      Mappings:
      Namespace Name Mixin selector
      official n Lcjm;n()V
      intermediary method_9846 Lnet/minecraft/class_2403;method_9846()V
      named disableFog Lcom/mojang/blaze3d/platform/GlStateManager;disableFog()V
    • fogMode

      public static void fogMode(int mode)
      Sets fog parameters
      Mappings:
      Namespace Name Mixin selector
      official d Lcjm;d(I)V
      intermediary method_9829 Lnet/minecraft/class_2403;method_9829(I)V
      named fogMode Lcom/mojang/blaze3d/platform/GlStateManager;fogMode(I)V
    • fogDensity

      public static void fogDensity(float density)
      Sets fog parameters
      Mappings:
      Namespace Name Mixin selector
      official a Lcjm;a(F)V
      intermediary method_9798 Lnet/minecraft/class_2403;method_9798(F)V
      named fogDensity Lcom/mojang/blaze3d/platform/GlStateManager;fogDensity(F)V
    • fogStart

      public static void fogStart(float start)
      Sets fog parameters
      Mappings:
      Namespace Name Mixin selector
      official b Lcjm;b(F)V
      intermediary method_9815 Lnet/minecraft/class_2403;method_9815(F)V
      named fogStart Lcom/mojang/blaze3d/platform/GlStateManager;fogStart(F)V
    • fogEnd

      public static void fogEnd(float end)
      Sets fog parameters
      Mappings:
      Namespace Name Mixin selector
      official c Lcjm;c(F)V
      intermediary method_9823 Lnet/minecraft/class_2403;method_9823(F)V
      named fogEnd Lcom/mojang/blaze3d/platform/GlStateManager;fogEnd(F)V
    • enableCull

      public static void enableCull()
      Enables culling
      Mappings:
      Namespace Name Mixin selector
      official o Lcjm;o()V
      intermediary method_9848 Lnet/minecraft/class_2403;method_9848()V
      named enableCull Lcom/mojang/blaze3d/platform/GlStateManager;enableCull()V
    • disableCull

      public static void disableCull()
      Disables Culling
      Mappings:
      Namespace Name Mixin selector
      official p Lcjm;p()V
      intermediary method_9850 Lnet/minecraft/class_2403;method_9850()V
      named disableCull Lcom/mojang/blaze3d/platform/GlStateManager;disableCull()V
    • cullFace

      public static void cullFace(int mode)
      Sets whether front- or back-facing facets can be culled
      Mappings:
      Namespace Name Mixin selector
      official e Lcjm;e(I)V
      intermediary method_9831 Lnet/minecraft/class_2403;method_9831(I)V
      named cullFace Lcom/mojang/blaze3d/platform/GlStateManager;cullFace(I)V
    • enablePolyOffset

      public static void enablePolyOffset()
      Enables Polygon Offset
      Mappings:
      Namespace Name Mixin selector
      official q Lcjm;q()V
      intermediary method_9851 Lnet/minecraft/class_2403;method_9851()V
      named enablePolyOffset Lcom/mojang/blaze3d/platform/GlStateManager;enablePolyOffset()V
    • disablePolyOffset

      public static void disablePolyOffset()
      Disables Polygon offset
      Mappings:
      Namespace Name Mixin selector
      official r Lcjm;r()V
      intermediary method_9852 Lnet/minecraft/class_2403;method_9852()V
      named disablePolyOffset Lcom/mojang/blaze3d/platform/GlStateManager;disablePolyOffset()V
    • polygonOffset

      public static void polygonOffset(float factor, float units)
      Sets the scale and units used to calculate depth values
      Mappings:
      Namespace Name Mixin selector
      official a Lcjm;a(FF)V
      intermediary method_9799 Lnet/minecraft/class_2403;method_9799(FF)V
      named polygonOffset Lcom/mojang/blaze3d/platform/GlStateManager;polygonOffset(FF)V
    • enableColorLogic

      public static void enableColorLogic()
      Enables color index rendering
      Mappings:
      Namespace Name Mixin selector
      official u Lcjm;u()V
      intermediary method_9853 Lnet/minecraft/class_2403;method_9853()V
      named enableColorLogic Lcom/mojang/blaze3d/platform/GlStateManager;enableColorLogic()V
    • disableColorLogic

      public static void disableColorLogic()
      Disables color index rendering
      Mappings:
      Namespace Name Mixin selector
      official v Lcjm;v()V
      intermediary method_9854 Lnet/minecraft/class_2403;method_9854()V
      named disableColorLogic Lcom/mojang/blaze3d/platform/GlStateManager;disableColorLogic()V
    • logicOp

      public static void logicOp(int op)
      Sets a logical pixel operation for color index rendering
      Mappings:
      Namespace Name Mixin selector
      official f Lcjm;f(I)V
      intermediary method_9833 Lnet/minecraft/class_2403;method_9833(I)V
      named logicOp Lcom/mojang/blaze3d/platform/GlStateManager;logicOp(I)V
    • method_9807

      public static void method_9807(class_2418 class_2418)
      Mappings:
      Namespace Name Mixin selector
      official a Lcjm;a(Lckc;)V
      intermediary method_9807 Lnet/minecraft/class_2403;method_9807(Lnet/minecraft/class_2418;)V
      named method_9807 Lcom/mojang/blaze3d/platform/GlStateManager;method_9807(Lnet/minecraft/class_2418;)V
    • method_9821

      public static void method_9821(class_2418 class_2418)
      Mappings:
      Namespace Name Mixin selector
      official b Lcjm;b(Lckc;)V
      intermediary method_9821 Lnet/minecraft/class_2403;method_9821(Lnet/minecraft/class_2418;)V
      named method_9821 Lcom/mojang/blaze3d/platform/GlStateManager;method_9821(Lnet/minecraft/class_2418;)V
    • method_9808

      public static void method_9808(class_2418 class_2418, int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lcjm;a(Lckc;I)V
      intermediary method_9808 Lnet/minecraft/class_2403;method_9808(Lnet/minecraft/class_2418;I)V
      named method_9808 Lcom/mojang/blaze3d/platform/GlStateManager;method_9808(Lnet/minecraft/class_2418;I)V
    • method_9809

      public static void method_9809(class_2418 class_2418, int int2, FloatBuffer floatBuffer)
      Mappings:
      Namespace Name Mixin selector
      official a Lcjm;a(Lckc;ILjava/nio/FloatBuffer;)V
      intermediary method_9809 Lnet/minecraft/class_2403;method_9809(Lnet/minecraft/class_2418;ILjava/nio/FloatBuffer;)V
      named method_9809 Lcom/mojang/blaze3d/platform/GlStateManager;method_9809(Lnet/minecraft/class_2418;ILjava/nio/FloatBuffer;)V
    • method_9827

      private static class_2419 method_9827(class_2418 class_2418)
      Mappings:
      Namespace Name Mixin selector
      official c Lcjm;c(Lckc;)Lckd;
      intermediary method_9827 Lnet/minecraft/class_2403;method_9827(Lnet/minecraft/class_2418;)Lnet/minecraft/class_2419;
      named method_9827 Lcom/mojang/blaze3d/platform/GlStateManager;method_9827(Lnet/minecraft/class_2418;)Lnet/minecraft/class_2419;
    • activeTexture

      public static void activeTexture(int texture)
      Sets the active texture unit
      Mappings:
      Namespace Name Mixin selector
      official g Lcjm;g(I)V
      intermediary method_9835 Lnet/minecraft/class_2403;method_9835(I)V
      named activeTexture Lcom/mojang/blaze3d/platform/GlStateManager;activeTexture(I)V
    • enableTexture

      public static void enableTexture()
      Enables active texture units
      Mappings:
      Namespace Name Mixin selector
      official w Lcjm;w()V
      intermediary method_9855 Lnet/minecraft/class_2403;method_9855()V
      named enableTexture Lcom/mojang/blaze3d/platform/GlStateManager;enableTexture()V
    • disableTexture

      public static void disableTexture()
      Disables active texture units
      Mappings:
      Namespace Name Mixin selector
      official x Lcjm;x()V
      intermediary method_9856 Lnet/minecraft/class_2403;method_9856()V
      named disableTexture Lcom/mojang/blaze3d/platform/GlStateManager;disableTexture()V
    • getTexLevelParameter

      public static int getTexLevelParameter()
      Generates texture names
      Mappings:
      Namespace Name Mixin selector
      official y Lcjm;y()I
      intermediary method_9857 Lnet/minecraft/class_2403;method_9857()I
      named getTexLevelParameter Lcom/mojang/blaze3d/platform/GlStateManager;getTexLevelParameter()I
    • deleteTexture

      public static void deleteTexture(int texture)
      Deletes a certain specified texture
      Mappings:
      Namespace Name Mixin selector
      official h Lcjm;h(I)V
      intermediary method_9837 Lnet/minecraft/class_2403;method_9837(I)V
      named deleteTexture Lcom/mojang/blaze3d/platform/GlStateManager;deleteTexture(I)V
    • bindTexture

      public static void bindTexture(int texture)
      Binds a certain specified texture to a texturing target
      Mappings:
      Namespace Name Mixin selector
      official i Lcjm;i(I)V
      intermediary method_9839 Lnet/minecraft/class_2403;method_9839(I)V
      named bindTexture Lcom/mojang/blaze3d/platform/GlStateManager;bindTexture(I)V
    • enableNormalize

      public static void enableNormalize()
      Enables normalize
      Mappings:
      Namespace Name Mixin selector
      official z Lcjm;z()V
      intermediary method_9858 Lnet/minecraft/class_2403;method_9858()V
      named enableNormalize Lcom/mojang/blaze3d/platform/GlStateManager;enableNormalize()V
    • disableNormalize

      public static void disableNormalize()
      Disables Normalize
      Mappings:
      Namespace Name Mixin selector
      official A Lcjm;A()V
      intermediary method_9787 Lnet/minecraft/class_2403;method_9787()V
      named disableNormalize Lcom/mojang/blaze3d/platform/GlStateManager;disableNormalize()V
    • shadeModel

      public static void shadeModel(int mode)
      Sets shading mode as flat or smooth
      Mappings:
      Namespace Name Mixin selector
      official j Lcjm;j(I)V
      intermediary method_9841 Lnet/minecraft/class_2403;method_9841(I)V
      named shadeModel Lcom/mojang/blaze3d/platform/GlStateManager;shadeModel(I)V
    • enableRescaleNormal

      public static void enableRescaleNormal()
      Enables rescale
      Mappings:
      Namespace Name Mixin selector
      official B Lcjm;B()V
      intermediary method_9788 Lnet/minecraft/class_2403;method_9788()V
      named enableRescaleNormal Lcom/mojang/blaze3d/platform/GlStateManager;enableRescaleNormal()V
    • disableRescaleNormal

      public static void disableRescaleNormal()
      Disables rescale
      Mappings:
      Namespace Name Mixin selector
      official C Lcjm;C()V
      intermediary method_9789 Lnet/minecraft/class_2403;method_9789()V
      named disableRescaleNormal Lcom/mojang/blaze3d/platform/GlStateManager;disableRescaleNormal()V
    • viewPort

      public static void viewPort(int x, int y, int width, int height)
      Sets the viewport
      Mappings:
      Namespace Name Mixin selector
      official b Lcjm;b(IIII)V
      intermediary method_9820 Lnet/minecraft/class_2403;method_9820(IIII)V
      named viewPort Lcom/mojang/blaze3d/platform/GlStateManager;viewPort(IIII)V
    • colorMask

      public static void colorMask(boolean red, boolean green, boolean blue, boolean alpha)
      Enables or Disables writing of frame buffer color components
      Mappings:
      Namespace Name Mixin selector
      official a Lcjm;a(ZZZZ)V
      intermediary method_9812 Lnet/minecraft/class_2403;method_9812(ZZZZ)V
      named colorMask Lcom/mojang/blaze3d/platform/GlStateManager;colorMask(ZZZZ)V
    • clearDepth

      public static void clearDepth(double depth)
      Sets the clear value for the depth buffer
      Mappings:
      Namespace Name Mixin selector
      official a Lcjm;a(D)V
      intermediary method_9795 Lnet/minecraft/class_2403;method_9795(D)V
      named clearDepth Lcom/mojang/blaze3d/platform/GlStateManager;clearDepth(D)V
    • clearColor

      public static void clearColor(float red, float green, float blue, float alpha)
      Sets clear values for the color buffers
      Mappings:
      Namespace Name Mixin selector
      official a Lcjm;a(FFFF)V
      intermediary method_9801 Lnet/minecraft/class_2403;method_9801(FFFF)V
      named clearColor Lcom/mojang/blaze3d/platform/GlStateManager;clearColor(FFFF)V
    • clear

      public static void clear(int mode)
      Clears buffers to preset values
      Mappings:
      Namespace Name Mixin selector
      official m Lcjm;m(I)V
      intermediary method_9845 Lnet/minecraft/class_2403;method_9845(I)V
      named clear Lcom/mojang/blaze3d/platform/GlStateManager;clear(I)V
    • matrixMode

      public static void matrixMode(int mode)
      Allows specifying which matrix is the current matrix
      Mappings:
      Namespace Name Mixin selector
      official n Lcjm;n(I)V
      intermediary method_9847 Lnet/minecraft/class_2403;method_9847(I)V
      named matrixMode Lcom/mojang/blaze3d/platform/GlStateManager;matrixMode(I)V
    • loadIdentity

      public static void loadIdentity()
      Replaces the current matrix with the identity matrix
      Mappings:
      Namespace Name Mixin selector
      official D Lcjm;D()V
      intermediary method_9790 Lnet/minecraft/class_2403;method_9790()V
      named loadIdentity Lcom/mojang/blaze3d/platform/GlStateManager;loadIdentity()V
    • pushMatrix

      public static void pushMatrix()
      Pushes the current matrix stack
      Mappings:
      Namespace Name Mixin selector
      official E Lcjm;E()V
      intermediary method_9791 Lnet/minecraft/class_2403;method_9791()V
      named pushMatrix Lcom/mojang/blaze3d/platform/GlStateManager;pushMatrix()V
    • popMatrix

      public static void popMatrix()
      Pops the current matrix stack
      Mappings:
      Namespace Name Mixin selector
      official F Lcjm;F()V
      intermediary method_9792 Lnet/minecraft/class_2403;method_9792()V
      named popMatrix Lcom/mojang/blaze3d/platform/GlStateManager;popMatrix()V
    • getFloat

      public static void getFloat(int mode, FloatBuffer buffer)
      Gets a float for a float buffer
      Mappings:
      Namespace Name Mixin selector
      official a Lcjm;a(ILjava/nio/FloatBuffer;)V
      intermediary method_9806 Lnet/minecraft/class_2403;method_9806(ILjava/nio/FloatBuffer;)V
      named getFloat Lcom/mojang/blaze3d/platform/GlStateManager;getFloat(ILjava/nio/FloatBuffer;)V
    • ortho

      public static void ortho(double l, double r, double b, double t, double n, double f)
      Multiplies the current matrix with an orthographic matrix
      Mappings:
      Namespace Name Mixin selector
      official a Lcjm;a(DDDDDD)V
      intermediary method_9797 Lnet/minecraft/class_2403;method_9797(DDDDDD)V
      named ortho Lcom/mojang/blaze3d/platform/GlStateManager;ortho(DDDDDD)V
    • rotatef

      public static void rotatef(float angle, float x, float y, float z)
      Multiplies the current matrix by a rotation matrix
      Mappings:
      Namespace Name Mixin selector
      official b Lcjm;b(FFFF)V
      intermediary method_9817 Lnet/minecraft/class_2403;method_9817(FFFF)V
      named rotatef Lcom/mojang/blaze3d/platform/GlStateManager;rotatef(FFFF)V
    • scalef

      public static void scalef(float x, float y, float z)
      Multiplies the current matrix by a general scaling matrix
      Mappings:
      Namespace Name Mixin selector
      official a Lcjm;a(FFF)V
      intermediary method_9800 Lnet/minecraft/class_2403;method_9800(FFF)V
      named scalef Lcom/mojang/blaze3d/platform/GlStateManager;scalef(FFF)V
    • scaled

      public static void scaled(double x, double y, double z)
      Multiplies the current matrix by a general scaling matrix
      Mappings:
      Namespace Name Mixin selector
      official a Lcjm;a(DDD)V
      intermediary method_9796 Lnet/minecraft/class_2403;method_9796(DDD)V
      named scaled Lcom/mojang/blaze3d/platform/GlStateManager;scaled(DDD)V
    • translatef

      public static void translatef(float x, float y, float z)
      Multiplies the current matrix by a translation matrix
      Mappings:
      Namespace Name Mixin selector
      official b Lcjm;b(FFF)V
      intermediary method_9816 Lnet/minecraft/class_2403;method_9816(FFF)V
      named translatef Lcom/mojang/blaze3d/platform/GlStateManager;translatef(FFF)V
    • translated

      public static void translated(double x, double y, double z)
      Multiplies the current matrix by a translation matrix
      Mappings:
      Namespace Name Mixin selector
      official b Lcjm;b(DDD)V
      intermediary method_9814 Lnet/minecraft/class_2403;method_9814(DDD)V
      named translated Lcom/mojang/blaze3d/platform/GlStateManager;translated(DDD)V
    • multiMatrix

      public static void multiMatrix(FloatBuffer buffer)
      Multiplies the current matrix with the specified matrix
      Mappings:
      Namespace Name Mixin selector
      official a Lcjm;a(Ljava/nio/FloatBuffer;)V
      intermediary method_9810 Lnet/minecraft/class_2403;method_9810(Ljava/nio/FloatBuffer;)V
      named multiMatrix Lcom/mojang/blaze3d/platform/GlStateManager;multiMatrix(Ljava/nio/FloatBuffer;)V
    • color4f

      public static void color4f(float red, float green, float blue, float alpha)
      Sets the current color
      Mappings:
      Namespace Name Mixin selector
      official c Lcjm;c(FFFF)V
      intermediary method_9825 Lnet/minecraft/class_2403;method_9825(FFFF)V
      named color4f Lcom/mojang/blaze3d/platform/GlStateManager;color4f(FFFF)V
    • color3f

      public static void color3f(float red, float green, float blue)
      Sets the current color without alpha
      Mappings:
      Namespace Name Mixin selector
      official c Lcjm;c(FFF)V
      intermediary method_9824 Lnet/minecraft/class_2403;method_9824(FFF)V
      named color3f Lcom/mojang/blaze3d/platform/GlStateManager;color3f(FFF)V
    • clearColor

      public static void clearColor()
      Clears the current color
      Mappings:
      Namespace Name Mixin selector
      official G Lcjm;G()V
      intermediary method_9793 Lnet/minecraft/class_2403;method_9793()V
      named clearColor Lcom/mojang/blaze3d/platform/GlStateManager;clearColor()V
    • callList

      public static void callList(int listId)
      Executes a display list
      Mappings:
      Namespace Name Mixin selector
      official o Lcjm;o(I)V
      intermediary method_9849 Lnet/minecraft/class_2403;method_9849(I)V
      named callList Lcom/mojang/blaze3d/platform/GlStateManager;callList(I)V