Class GlBlendState

java.lang.Object
net.minecraft.client.gl.GlBlendState

@Environment(CLIENT) public class GlBlendState extends Object
Mappings:
Namespace Name
official dsx
intermediary net/minecraft/class_277
named net/minecraft/client/gl/GlBlendState
  • Field Details

    • activeBlendState

      @Nullable private static @Nullable GlBlendState activeBlendState
      Mappings:
      Namespace Name Mixin selector
      official a Ldsx;a:Ldsx;
      intermediary field_1484 Lnet/minecraft/class_277;field_1484:Lnet/minecraft/class_277;
      named activeBlendState Lnet/minecraft/client/gl/GlBlendState;activeBlendState:Lnet/minecraft/client/gl/GlBlendState;
    • srcRgb

      private final int srcRgb
      Mappings:
      Namespace Name Mixin selector
      official b Ldsx;b:I
      intermediary field_1491 Lnet/minecraft/class_277;field_1491:I
      named srcRgb Lnet/minecraft/client/gl/GlBlendState;srcRgb:I
    • srcAlpha

      private final int srcAlpha
      Mappings:
      Namespace Name Mixin selector
      official c Ldsx;c:I
      intermediary field_1490 Lnet/minecraft/class_277;field_1490:I
      named srcAlpha Lnet/minecraft/client/gl/GlBlendState;srcAlpha:I
    • dstRgb

      private final int dstRgb
      Mappings:
      Namespace Name Mixin selector
      official d Ldsx;d:I
      intermediary field_1489 Lnet/minecraft/class_277;field_1489:I
      named dstRgb Lnet/minecraft/client/gl/GlBlendState;dstRgb:I
    • dstAlpha

      private final int dstAlpha
      Mappings:
      Namespace Name Mixin selector
      official e Ldsx;e:I
      intermediary field_1488 Lnet/minecraft/class_277;field_1488:I
      named dstAlpha Lnet/minecraft/client/gl/GlBlendState;dstAlpha:I
    • func

      private final int func
      Mappings:
      Namespace Name Mixin selector
      official f Ldsx;f:I
      intermediary field_1486 Lnet/minecraft/class_277;field_1486:I
      named func Lnet/minecraft/client/gl/GlBlendState;func:I
    • separateBlend

      private final boolean separateBlend
      Mappings:
      Namespace Name Mixin selector
      official g Ldsx;g:Z
      intermediary field_1487 Lnet/minecraft/class_277;field_1487:Z
      named separateBlend Lnet/minecraft/client/gl/GlBlendState;separateBlend:Z
    • blendDisabled

      private final boolean blendDisabled
      Mappings:
      Namespace Name Mixin selector
      official h Ldsx;h:Z
      intermediary field_1485 Lnet/minecraft/class_277;field_1485:Z
      named blendDisabled Lnet/minecraft/client/gl/GlBlendState;blendDisabled:Z
  • Constructor Details

    • GlBlendState

      private GlBlendState(boolean separateBlend, boolean blendDisabled, int srcRgb, int dstRgb, int srcAlpha, int dstAlpha, int func)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldsx;<init>(ZZIIIII)V
      intermediary <init> Lnet/minecraft/class_277;<init>(ZZIIIII)V
      named <init> Lnet/minecraft/client/gl/GlBlendState;<init>(ZZIIIII)V
    • GlBlendState

      public GlBlendState()
    • GlBlendState

      public GlBlendState(int srcRgb, int dstRgb, int func)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldsx;<init>(III)V
      intermediary <init> Lnet/minecraft/class_277;<init>(III)V
      named <init> Lnet/minecraft/client/gl/GlBlendState;<init>(III)V
    • GlBlendState

      public GlBlendState(int srcRgb, int dstRgb, int srcAlpha, int dstAlpha, int func)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldsx;<init>(IIIII)V
      intermediary <init> Lnet/minecraft/class_277;<init>(IIIII)V
      named <init> Lnet/minecraft/client/gl/GlBlendState;<init>(IIIII)V
  • Method Details

    • enable

      public void enable()
      Mappings:
      Namespace Name Mixin selector
      official a Ldsx;a()V
      intermediary method_1244 Lnet/minecraft/class_277;method_1244()V
      named enable Lnet/minecraft/client/gl/GlBlendState;enable()V
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      official equals Ldsx;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_277;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/client/gl/GlBlendState;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • isBlendDisabled

      public boolean isBlendDisabled()
      Mappings:
      Namespace Name Mixin selector
      official b Ldsx;b()Z
      intermediary method_1245 Lnet/minecraft/class_277;method_1245()Z
      named isBlendDisabled Lnet/minecraft/client/gl/GlBlendState;isBlendDisabled()Z
    • getFuncFromString

      public static int getFuncFromString(String name)
      Mappings:
      Namespace Name Mixin selector
      official a Ldsx;a(Ljava/lang/String;)I
      intermediary method_1247 Lnet/minecraft/class_277;method_1247(Ljava/lang/String;)I
      named getFuncFromString Lnet/minecraft/client/gl/GlBlendState;getFuncFromString(Ljava/lang/String;)I
    • getComponentFromString

      public static int getComponentFromString(String expression)
      Mappings:
      Namespace Name Mixin selector
      official b Ldsx;b(Ljava/lang/String;)I
      intermediary method_1243 Lnet/minecraft/class_277;method_1243(Ljava/lang/String;)I
      named getComponentFromString Lnet/minecraft/client/gl/GlBlendState;getComponentFromString(Ljava/lang/String;)I