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 bfl
intermediary net/minecraft/class_2403
named com/mojang/blaze3d/platform/GlStateManager
  • Field Details

    • ALPHA_TEST

      private static GlStateManager.AlphaTestState ALPHA_TEST
      Stores the alpha test state
      Mappings:
      Namespace Name Mixin selector
      official a Lbfl;a:Lbfl$a;
      intermediary field_10708 Lnet/minecraft/class_2403;field_10708:Lnet/minecraft/class_2403$class_2404;
      named ALPHA_TEST Lcom/mojang/blaze3d/platform/GlStateManager;ALPHA_TEST:Lcom/mojang/blaze3d/platform/GlStateManager$AlphaTestState;
    • LIGHTING

      private static GlStateManager.BooleanState LIGHTING
      Stores the lighting state
      Mappings:
      Namespace Name Mixin selector
      official b Lbfl;b:Lbfl$c;
      intermediary field_10709 Lnet/minecraft/class_2403;field_10709:Lnet/minecraft/class_2403$class_2406;
      named LIGHTING Lcom/mojang/blaze3d/platform/GlStateManager;LIGHTING:Lcom/mojang/blaze3d/platform/GlStateManager$BooleanState;
    • LIGHTING_STATES

      private static GlStateManager.BooleanState[] LIGHTING_STATES
      Stores all lighting states in an array
      Mappings:
      Namespace Name Mixin selector
      official c Lbfl;c:[Lbfl$c;
      intermediary field_10710 Lnet/minecraft/class_2403;field_10710:[Lnet/minecraft/class_2403$class_2406;
      named LIGHTING_STATES Lcom/mojang/blaze3d/platform/GlStateManager;LIGHTING_STATES:[Lcom/mojang/blaze3d/platform/GlStateManager$BooleanState;
    • COLOR_MATERIAL

      private static GlStateManager.ColorMaterialState COLOR_MATERIAL
      Stores the color material state
      Mappings:
      Namespace Name Mixin selector
      official d Lbfl;d:Lbfl$h;
      intermediary field_10711 Lnet/minecraft/class_2403;field_10711:Lnet/minecraft/class_2403$class_2411;
      named COLOR_MATERIAL Lcom/mojang/blaze3d/platform/GlStateManager;COLOR_MATERIAL:Lcom/mojang/blaze3d/platform/GlStateManager$ColorMaterialState;
    • BLEND

      private static GlStateManager.BlendFuncState BLEND
      Stores the blend state
      Mappings:
      Namespace Name Mixin selector
      official e Lbfl;e:Lbfl$b;
      intermediary field_10712 Lnet/minecraft/class_2403;field_10712:Lnet/minecraft/class_2403$class_2405;
      named BLEND Lcom/mojang/blaze3d/platform/GlStateManager;BLEND:Lcom/mojang/blaze3d/platform/GlStateManager$BlendFuncState;
    • DEPTH

      private static GlStateManager.DepthTestState DEPTH
      Stores the depth testing state
      Mappings:
      Namespace Name Mixin selector
      official f Lbfl;f:Lbfl$j;
      intermediary field_10713 Lnet/minecraft/class_2403;field_10713:Lnet/minecraft/class_2403$class_2413;
      named DEPTH Lcom/mojang/blaze3d/platform/GlStateManager;DEPTH:Lcom/mojang/blaze3d/platform/GlStateManager$DepthTestState;
    • FOG

      private static GlStateManager.FogState FOG
      Stores the fog state
      Mappings:
      Namespace Name Mixin selector
      official g Lbfl;g:Lbfl$k;
      intermediary field_10714 Lnet/minecraft/class_2403;field_10714:Lnet/minecraft/class_2403$class_2414;
      named FOG Lcom/mojang/blaze3d/platform/GlStateManager;FOG:Lcom/mojang/blaze3d/platform/GlStateManager$FogState;
    • CULL

      private static GlStateManager.CullFaceState CULL
      Stores the cull state
      Mappings:
      Namespace Name Mixin selector
      official h Lbfl;h:Lbfl$i;
      intermediary field_10715 Lnet/minecraft/class_2403;field_10715:Lnet/minecraft/class_2403$class_2412;
      named CULL Lcom/mojang/blaze3d/platform/GlStateManager;CULL:Lcom/mojang/blaze3d/platform/GlStateManager$CullFaceState;
    • POLY_OFFSET

      private static GlStateManager.PolygonOffsetState POLY_OFFSET
      Stores the polygon offset state
      Mappings:
      Namespace Name Mixin selector
      official i Lbfl;i:Lbfl$l;
      intermediary field_10716 Lnet/minecraft/class_2403;field_10716:Lnet/minecraft/class_2403$class_2415;
      named POLY_OFFSET Lcom/mojang/blaze3d/platform/GlStateManager;POLY_OFFSET:Lcom/mojang/blaze3d/platform/GlStateManager$PolygonOffsetState;
    • COLOR_LOGIC

      private static GlStateManager.LogicOpState COLOR_LOGIC
      Stores the color logic state
      Mappings:
      Namespace Name Mixin selector
      official j Lbfl;j:Lbfl$f;
      intermediary field_10717 Lnet/minecraft/class_2403;field_10717:Lnet/minecraft/class_2403$class_2409;
      named COLOR_LOGIC Lcom/mojang/blaze3d/platform/GlStateManager;COLOR_LOGIC:Lcom/mojang/blaze3d/platform/GlStateManager$LogicOpState;
    • TEX_GEN

      private static GlStateManager.TexGenState TEX_GEN
      Stores the texture coordinate generation state
      Mappings:
      Namespace Name Mixin selector
      official k Lbfl;k:Lbfl$q;
      intermediary field_10718 Lnet/minecraft/class_2403;field_10718:Lnet/minecraft/class_2403$class_2420;
      named TEX_GEN Lcom/mojang/blaze3d/platform/GlStateManager;TEX_GEN:Lcom/mojang/blaze3d/platform/GlStateManager$TexGenState;
    • CLEAR

      private static GlStateManager.ClearState CLEAR
      Stores the color clear state
      Mappings:
      Namespace Name Mixin selector
      official l Lbfl;l:Lbfl$d;
      intermediary field_10719 Lnet/minecraft/class_2403;field_10719:Lnet/minecraft/class_2403$class_2407;
      named CLEAR Lcom/mojang/blaze3d/platform/GlStateManager;CLEAR:Lcom/mojang/blaze3d/platform/GlStateManager$ClearState;
    • STENCIL

      private static GlStateManager.StencilState STENCIL
      Stores the stencil state
      Mappings:
      Namespace Name Mixin selector
      official m Lbfl;m:Lbfl$n;
      intermediary field_10720 Lnet/minecraft/class_2403;field_10720:Lnet/minecraft/class_2403$class_2417;
      named STENCIL Lcom/mojang/blaze3d/platform/GlStateManager;STENCIL:Lcom/mojang/blaze3d/platform/GlStateManager$StencilState;
    • NORMALIZE

      private static GlStateManager.BooleanState NORMALIZE
      Stores the normalization state
      Mappings:
      Namespace Name Mixin selector
      official n Lbfl;n:Lbfl$c;
      intermediary field_10721 Lnet/minecraft/class_2403;field_10721:Lnet/minecraft/class_2403$class_2406;
      named NORMALIZE Lcom/mojang/blaze3d/platform/GlStateManager;NORMALIZE:Lcom/mojang/blaze3d/platform/GlStateManager$BooleanState;
    • activeTexture

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

      private static GlStateManager.Texture2DState[] TEXTURES
      Stores all texture states in an array
      Mappings:
      Namespace Name Mixin selector
      official p Lbfl;p:[Lbfl$r;
      intermediary field_10723 Lnet/minecraft/class_2403;field_10723:[Lnet/minecraft/class_2403$class_2421;
      named TEXTURES Lcom/mojang/blaze3d/platform/GlStateManager;TEXTURES:[Lcom/mojang/blaze3d/platform/GlStateManager$Texture2DState;
    • modelShadeMode

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

      private static GlStateManager.BooleanState RESCALE_NORMAL
      Stores the normal rescale state
      Mappings:
      Namespace Name Mixin selector
      official r Lbfl;r:Lbfl$c;
      intermediary field_10725 Lnet/minecraft/class_2403;field_10725:Lnet/minecraft/class_2403$class_2406;
      named RESCALE_NORMAL Lcom/mojang/blaze3d/platform/GlStateManager;RESCALE_NORMAL:Lcom/mojang/blaze3d/platform/GlStateManager$BooleanState;
    • COLOR_MASK

      private static GlStateManager.ColorMask COLOR_MASK
      Stores the color mask state
      Mappings:
      Namespace Name Mixin selector
      official s Lbfl;s:Lbfl$g;
      intermediary field_10726 Lnet/minecraft/class_2403;field_10726:Lnet/minecraft/class_2403$class_2410;
      named COLOR_MASK Lcom/mojang/blaze3d/platform/GlStateManager;COLOR_MASK:Lcom/mojang/blaze3d/platform/GlStateManager$ColorMask;
    • COLOR

      private static GlStateManager.Color4 COLOR
      Stores the color state in rgba
      Mappings:
      Namespace Name Mixin selector
      official t Lbfl;t:Lbfl$e;
      intermediary field_10727 Lnet/minecraft/class_2403;field_10727:Lnet/minecraft/class_2403$class_2408;
      named COLOR Lcom/mojang/blaze3d/platform/GlStateManager;COLOR:Lcom/mojang/blaze3d/platform/GlStateManager$Color4;
  • Constructor Details

    • GlStateManager

      public GlStateManager()
  • Method Details

    • pushLightingAttributes

      public static void pushLightingAttributes()
      Pushes the attribute stack
      Mappings:
      Namespace Name Mixin selector
      official a Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;f(I)V
      intermediary method_9833 Lnet/minecraft/class_2403;method_9833(I)V
      named logicOp Lcom/mojang/blaze3d/platform/GlStateManager;logicOp(I)V
    • enableTexCoord

      public static void enableTexCoord(GlStateManager.TexCoord coord)
      Enables the generation of texture coordinates
      Mappings:
      Namespace Name Mixin selector
      official a Lbfl;a(Lbfl$o;)V
      intermediary method_9807 Lnet/minecraft/class_2403;method_9807(Lnet/minecraft/class_2403$class_2418;)V
      named enableTexCoord Lcom/mojang/blaze3d/platform/GlStateManager;enableTexCoord(Lcom/mojang/blaze3d/platform/GlStateManager$TexCoord;)V
    • disableTexCoord

      public static void disableTexCoord(GlStateManager.TexCoord coord)
      Disables the generation of texture coordinates
      Mappings:
      Namespace Name Mixin selector
      official b Lbfl;b(Lbfl$o;)V
      intermediary method_9821 Lnet/minecraft/class_2403;method_9821(Lnet/minecraft/class_2403$class_2418;)V
      named disableTexCoord Lcom/mojang/blaze3d/platform/GlStateManager;disableTexCoord(Lcom/mojang/blaze3d/platform/GlStateManager$TexCoord;)V
    • genTex

      public static void genTex(GlStateManager.TexCoord coord, int mode)
      Allows controlling the generation of texture coordinates
      Mappings:
      Namespace Name Mixin selector
      official a Lbfl;a(Lbfl$o;I)V
      intermediary method_9808 Lnet/minecraft/class_2403;method_9808(Lnet/minecraft/class_2403$class_2418;I)V
      named genTex Lcom/mojang/blaze3d/platform/GlStateManager;genTex(Lcom/mojang/blaze3d/platform/GlStateManager$TexCoord;I)V
    • genTex

      public static void genTex(GlStateManager.TexCoord coord, int mode, FloatBuffer buffer)
      Allows controling the generation of texture coordinates with a float buffer
      Mappings:
      Namespace Name Mixin selector
      official a Lbfl;a(Lbfl$o;ILjava/nio/FloatBuffer;)V
      intermediary method_9809 Lnet/minecraft/class_2403;method_9809(Lnet/minecraft/class_2403$class_2418;ILjava/nio/FloatBuffer;)V
      named genTex Lcom/mojang/blaze3d/platform/GlStateManager;genTex(Lcom/mojang/blaze3d/platform/GlStateManager$TexCoord;ILjava/nio/FloatBuffer;)V
    • getGenCoordState

      private static GlStateManager.TexGenCoordState getGenCoordState(GlStateManager.TexCoord coord)
      Retrieves texture coordinate generation state
      Mappings:
      Namespace Name Mixin selector
      official c Lbfl;c(Lbfl$o;)Lbfl$p;
      intermediary method_9827 Lnet/minecraft/class_2403;method_9827(Lnet/minecraft/class_2403$class_2418;)Lnet/minecraft/class_2403$class_2419;
      named getGenCoordState Lcom/mojang/blaze3d/platform/GlStateManager;getGenCoordState(Lcom/mojang/blaze3d/platform/GlStateManager$TexCoord;)Lcom/mojang/blaze3d/platform/GlStateManager$TexGenCoordState;
    • activeTexture

      public static void activeTexture(int texture)
      Sets the active texture unit
      Mappings:
      Namespace Name Mixin selector
      official g Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;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 Lbfl;o(I)V
      intermediary method_9849 Lnet/minecraft/class_2403;method_9849(I)V
      named callList Lcom/mojang/blaze3d/platform/GlStateManager;callList(I)V