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_1013
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_4311 Lnet/minecraft/class_1013;field_4311:Lnet/minecraft/class_1013$class_1014;
      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_4312 Lnet/minecraft/class_1013;field_4312:Lnet/minecraft/class_1013$class_1016;
      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_4313 Lnet/minecraft/class_1013;field_4313:[Lnet/minecraft/class_1013$class_1016;
      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_4314 Lnet/minecraft/class_1013;field_4314:Lnet/minecraft/class_1013$class_1021;
      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_4315 Lnet/minecraft/class_1013;field_4315:Lnet/minecraft/class_1013$class_1015;
      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_4316 Lnet/minecraft/class_1013;field_4316:Lnet/minecraft/class_1013$class_1023;
      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_4317 Lnet/minecraft/class_1013;field_4317:Lnet/minecraft/class_1013$class_1024;
      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_4318 Lnet/minecraft/class_1013;field_4318:Lnet/minecraft/class_1013$class_1022;
      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_4319 Lnet/minecraft/class_1013;field_4319:Lnet/minecraft/class_1013$class_1025;
      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_4320 Lnet/minecraft/class_1013;field_4320:Lnet/minecraft/class_1013$class_1019;
      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_4321 Lnet/minecraft/class_1013;field_4321:Lnet/minecraft/class_1013$class_1030;
      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_4322 Lnet/minecraft/class_1013;field_4322:Lnet/minecraft/class_1013$class_1017;
      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_4323 Lnet/minecraft/class_1013;field_4323:Lnet/minecraft/class_1013$class_1027;
      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_4324 Lnet/minecraft/class_1013;field_4324:Lnet/minecraft/class_1013$class_1016;
      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_4325 Lnet/minecraft/class_1013;field_4325: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_4326 Lnet/minecraft/class_1013;field_4326:[Lnet/minecraft/class_1013$class_1031;
      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_4327 Lnet/minecraft/class_1013;field_4327: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_4328 Lnet/minecraft/class_1013;field_4328:Lnet/minecraft/class_1013$class_1016;
      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_4329 Lnet/minecraft/class_1013;field_4329:Lnet/minecraft/class_1013$class_1020;
      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_4330 Lnet/minecraft/class_1013;field_4330:Lnet/minecraft/class_1013$class_1018;
      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_3400 Lnet/minecraft/class_1013;method_3400()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_3419 Lnet/minecraft/class_1013;method_3419()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_3428 Lnet/minecraft/class_1013;method_3428()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_3434 Lnet/minecraft/class_1013;method_3434()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_3409 Lnet/minecraft/class_1013;method_3409(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_3436 Lnet/minecraft/class_1013;method_3436()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_3438 Lnet/minecraft/class_1013;method_3438()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_3408 Lnet/minecraft/class_1013;method_3408(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_3424 Lnet/minecraft/class_1013;method_3424(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_3440 Lnet/minecraft/class_1013;method_3440()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_3442 Lnet/minecraft/class_1013;method_3442()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_3410 Lnet/minecraft/class_1013;method_3410(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_3444 Lnet/minecraft/class_1013;method_3444()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_3446 Lnet/minecraft/class_1013;method_3446()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_3432 Lnet/minecraft/class_1013;method_3432(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_3417 Lnet/minecraft/class_1013;method_3417(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_3448 Lnet/minecraft/class_1013;method_3448()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_3449 Lnet/minecraft/class_1013;method_3449()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_3425 Lnet/minecraft/class_1013;method_3425(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_3411 Lnet/minecraft/class_1013;method_3411(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_3450 Lnet/minecraft/class_1013;method_3450()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_3452 Lnet/minecraft/class_1013;method_3452()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_3435 Lnet/minecraft/class_1013;method_3435(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_3404 Lnet/minecraft/class_1013;method_3404(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_3421 Lnet/minecraft/class_1013;method_3421(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_3429 Lnet/minecraft/class_1013;method_3429(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_3454 Lnet/minecraft/class_1013;method_3454()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_3456 Lnet/minecraft/class_1013;method_3456()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_3437 Lnet/minecraft/class_1013;method_3437(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_3457 Lnet/minecraft/class_1013;method_3457()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_3458 Lnet/minecraft/class_1013;method_3458()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_3405 Lnet/minecraft/class_1013;method_3405(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_3459 Lnet/minecraft/class_1013;method_3459()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_3460 Lnet/minecraft/class_1013;method_3460()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_3439 Lnet/minecraft/class_1013;method_3439(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_3413 Lnet/minecraft/class_1013;method_3413(Lnet/minecraft/class_1013$class_1028;)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_3427 Lnet/minecraft/class_1013;method_3427(Lnet/minecraft/class_1013$class_1028;)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_3414 Lnet/minecraft/class_1013;method_3414(Lnet/minecraft/class_1013$class_1028;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_3415 Lnet/minecraft/class_1013;method_3415(Lnet/minecraft/class_1013$class_1028;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_3433 Lnet/minecraft/class_1013;method_3433(Lnet/minecraft/class_1013$class_1028;)Lnet/minecraft/class_1013$class_1029;
      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_3441 Lnet/minecraft/class_1013;method_3441(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_3461 Lnet/minecraft/class_1013;method_3461()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_3462 Lnet/minecraft/class_1013;method_3462()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_3463 Lnet/minecraft/class_1013;method_3463()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_3443 Lnet/minecraft/class_1013;method_3443(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_3445 Lnet/minecraft/class_1013;method_3445(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_3464 Lnet/minecraft/class_1013;method_3464()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_3393 Lnet/minecraft/class_1013;method_3393()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_3447 Lnet/minecraft/class_1013;method_3447(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_3394 Lnet/minecraft/class_1013;method_3394()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_3395 Lnet/minecraft/class_1013;method_3395()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_3426 Lnet/minecraft/class_1013;method_3426(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_3418 Lnet/minecraft/class_1013;method_3418(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_3401 Lnet/minecraft/class_1013;method_3401(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_3407 Lnet/minecraft/class_1013;method_3407(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_3451 Lnet/minecraft/class_1013;method_3451(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_3453 Lnet/minecraft/class_1013;method_3453(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_3396 Lnet/minecraft/class_1013;method_3396()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_3397 Lnet/minecraft/class_1013;method_3397()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_3398 Lnet/minecraft/class_1013;method_3398()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_3412 Lnet/minecraft/class_1013;method_3412(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_3403 Lnet/minecraft/class_1013;method_3403(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_3423 Lnet/minecraft/class_1013;method_3423(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_3406 Lnet/minecraft/class_1013;method_3406(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_3402 Lnet/minecraft/class_1013;method_3402(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_3422 Lnet/minecraft/class_1013;method_3422(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_3420 Lnet/minecraft/class_1013;method_3420(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_3416 Lnet/minecraft/class_1013;method_3416(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_3431 Lnet/minecraft/class_1013;method_3431(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_3430 Lnet/minecraft/class_1013;method_3430(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_3399 Lnet/minecraft/class_1013;method_3399()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_3455 Lnet/minecraft/class_1013;method_3455(I)V
      named callList Lcom/mojang/blaze3d/platform/GlStateManager;callList(I)V