Class GlBlendState

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

@Environment(CLIENT) public class GlBlendState extends Object
Mappings:
Namespace Name
official edn
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 Ledn;a:Ledn;
      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 Ledn;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 Ledn;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 Ledn;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 Ledn;e:I
      intermediary field_1488 Lnet/minecraft/class_277;field_1488:I
      named dstAlpha Lnet/minecraft/client/gl/GlBlendState;dstAlpha:I
    • mode

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

      private final boolean separateBlend
      Mappings:
      Namespace Name Mixin selector
      official g Ledn;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 Ledn;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 mode)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ledn;<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> Ledn;<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> Ledn;<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 Ledn;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 Ledn;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 Ledn;b()Z
      intermediary method_1245 Lnet/minecraft/class_277;method_1245()Z
      named isBlendDisabled Lnet/minecraft/client/gl/GlBlendState;isBlendDisabled()Z
    • getModeFromString

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

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