Record Class BlendPrograms

java.lang.Object
java.lang.Record
net.minecraft.client.gl.BlendPrograms
Record Components:
sourceColor -
destColor -
sourceAlpha -
destAlpha -

@Environment(CLIENT) public record BlendPrograms(GlStateManager.SrcFactor sourceColor, GlStateManager.DstFactor destColor, GlStateManager.SrcFactor sourceAlpha, GlStateManager.DstFactor destAlpha) extends Record
Mappings:
Namespace Name
named net/minecraft/client/gl/BlendPrograms
intermediary net/minecraft/class_10784
official fia
named sourceColor
intermediary comp_3695
official h
named destColor
intermediary comp_3696
official i
named sourceAlpha
intermediary comp_3697
official j
named destAlpha
intermediary comp_3698
official k
  • Field Details

    • sourceColor

      private final GlStateManager.SrcFactor sourceColor
      The field for the sourceColor record component.
    • destColor

      private final GlStateManager.DstFactor destColor
      The field for the destColor record component.
    • sourceAlpha

      private final GlStateManager.SrcFactor sourceAlpha
      The field for the sourceAlpha record component.
    • destAlpha

      private final GlStateManager.DstFactor destAlpha
      The field for the destAlpha record component.
    • SKY_LIGHTNING

      public static final BlendPrograms SKY_LIGHTNING
      Mappings:
      Namespace Name Mixin selector
      named SKY_LIGHTNING Lnet/minecraft/client/gl/BlendPrograms;SKY_LIGHTNING:Lnet/minecraft/client/gl/BlendPrograms;
      intermediary field_56698 Lnet/minecraft/class_10784;field_56698:Lnet/minecraft/class_10784;
      official a Lfia;a:Lfia;
    • EQUIPMENT_GLINT

      public static final BlendPrograms EQUIPMENT_GLINT
      Mappings:
      Namespace Name Mixin selector
      named EQUIPMENT_GLINT Lnet/minecraft/client/gl/BlendPrograms;EQUIPMENT_GLINT:Lnet/minecraft/client/gl/BlendPrograms;
      intermediary field_56699 Lnet/minecraft/class_10784;field_56699:Lnet/minecraft/class_10784;
      official b Lfia;b:Lfia;
    • POSITION_OVERLAY

      public static final BlendPrograms POSITION_OVERLAY
      Mappings:
      Namespace Name Mixin selector
      named POSITION_OVERLAY Lnet/minecraft/client/gl/BlendPrograms;POSITION_OVERLAY:Lnet/minecraft/client/gl/BlendPrograms;
      intermediary field_56700 Lnet/minecraft/class_10784;field_56700:Lnet/minecraft/class_10784;
      official c Lfia;c:Lfia;
    • TRANSLUCENT

      public static final BlendPrograms TRANSLUCENT
      Mappings:
      Namespace Name Mixin selector
      named TRANSLUCENT Lnet/minecraft/client/gl/BlendPrograms;TRANSLUCENT:Lnet/minecraft/client/gl/BlendPrograms;
      intermediary field_56701 Lnet/minecraft/class_10784;field_56701:Lnet/minecraft/class_10784;
      official d Lfia;d:Lfia;
    • ADD_PROGRAM

      public static final BlendPrograms ADD_PROGRAM
      Mappings:
      Namespace Name Mixin selector
      named ADD_PROGRAM Lnet/minecraft/client/gl/BlendPrograms;ADD_PROGRAM:Lnet/minecraft/client/gl/BlendPrograms;
      intermediary field_56702 Lnet/minecraft/class_10784;field_56702:Lnet/minecraft/class_10784;
      official e Lfia;e:Lfia;
    • PANORAMIC

      public static final BlendPrograms PANORAMIC
      Mappings:
      Namespace Name Mixin selector
      named PANORAMIC Lnet/minecraft/client/gl/BlendPrograms;PANORAMIC:Lnet/minecraft/client/gl/BlendPrograms;
      intermediary field_56703 Lnet/minecraft/class_10784;field_56703:Lnet/minecraft/class_10784;
      official f Lfia;f:Lfia;
    • OUTLINES

      public static final BlendPrograms OUTLINES
      Mappings:
      Namespace Name Mixin selector
      named OUTLINES Lnet/minecraft/client/gl/BlendPrograms;OUTLINES:Lnet/minecraft/client/gl/BlendPrograms;
      intermediary field_56704 Lnet/minecraft/class_10784;field_56704:Lnet/minecraft/class_10784;
      official g Lfia;g:Lfia;
  • Constructor Details

    • BlendPrograms

      public BlendPrograms(GlStateManager.SrcFactor source, GlStateManager.DstFactor dest)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gl/BlendPrograms;<init>(Lcom/mojang/blaze3d/platform/GlStateManager$SrcFactor;Lcom/mojang/blaze3d/platform/GlStateManager$DstFactor;)V
      intermediary <init> Lnet/minecraft/class_10784;<init>(Lcom/mojang/blaze3d/platform/GlStateManager$class_4535;Lcom/mojang/blaze3d/platform/GlStateManager$class_4534;)V
      official <init> Lfia;<init>(Lcom/mojang/blaze3d/platform/GlStateManager$SourceFactor;Lcom/mojang/blaze3d/platform/GlStateManager$DestFactor;)V
    • BlendPrograms

      public BlendPrograms(GlStateManager.SrcFactor srcFactor, GlStateManager.DstFactor dstFactor, GlStateManager.SrcFactor srcFactor2, GlStateManager.DstFactor dstFactor2)
  • Method Details

    • init

      public void init()
      Mappings:
      Namespace Name Mixin selector
      named init Lnet/minecraft/client/gl/BlendPrograms;init()V
      intermediary method_67723 Lnet/minecraft/class_10784;method_67723()V
      official a Lfia;a()V
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • sourceColor

      public GlStateManager.SrcFactor sourceColor()
      Returns the value of the sourceColor record component.
      Returns:
      the value of the sourceColor record component
    • destColor

      public GlStateManager.DstFactor destColor()
      Returns the value of the destColor record component.
      Returns:
      the value of the destColor record component
    • sourceAlpha

      public GlStateManager.SrcFactor sourceAlpha()
      Returns the value of the sourceAlpha record component.
      Returns:
      the value of the sourceAlpha record component
    • destAlpha

      public GlStateManager.DstFactor destAlpha()
      Returns the value of the destAlpha record component.
      Returns:
      the value of the destAlpha record component