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(SourceFactor sourceColor, DestFactor destColor, SourceFactor sourceAlpha, DestFactor destAlpha) extends Record
Mappings:
Namespace Name
named net/minecraft/client/gl/BlendPrograms
intermediary net/minecraft/class_10784
official fjn
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 SourceFactor sourceColor
      The field for the sourceColor record component.
    • destColor

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

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

      private final DestFactor 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 Lfjn;a:Lfjn;
    • 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 Lfjn;b:Lfjn;
    • 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 Lfjn;c:Lfjn;
    • 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 Lfjn;d:Lfjn;
    • 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 Lfjn;e:Lfjn;
    • 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 Lfjn;f:Lfjn;
    • 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 Lfjn;g:Lfjn;
  • Constructor Details

  • Method Details

    • 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 SourceFactor sourceColor()
      Returns the value of the sourceColor record component.
      Returns:
      the value of the sourceColor record component
    • destColor

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

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

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