Class GlBlendState

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

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

    • activeBlendState

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

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

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

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

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

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

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

      private final boolean blendDisabled
      Mappings:
      Namespace Name Mixin selector
      named blendDisabled Lnet/minecraft/client/gl/GlBlendState;blendDisabled:Z
      intermediary field_1485 Lnet/minecraft/class_277;field_1485:Z
      official h Lezj;h: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
      named <init> Lnet/minecraft/client/gl/GlBlendState;<init>(ZZIIIII)V
      intermediary <init> Lnet/minecraft/class_277;<init>(ZZIIIII)V
      official <init> Lezj;<init>(ZZIIIII)V
    • GlBlendState

      public GlBlendState()
    • GlBlendState

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

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

    • enable

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

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

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

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

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

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