Package net.minecraft.client.gl
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/BlendProgramsintermediary net/minecraft/class_10784official fjnnamed sourceColorintermediary comp_3695official hnamed destColorintermediary comp_3696official inamed sourceAlphaintermediary comp_3697official jnamed destAlphaintermediary comp_3698official k
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BlendProgramsprivate final DestFactorThe field for thedestAlpharecord component.private final DestFactorThe field for thedestColorrecord component.static final BlendProgramsstatic final BlendProgramsstatic final BlendProgramsstatic final BlendProgramsstatic final BlendProgramsprivate final SourceFactorThe field for thesourceAlpharecord component.private final SourceFactorThe field for thesourceColorrecord component.static final BlendPrograms -
Constructor Summary
ConstructorsConstructorDescriptionBlendPrograms(SourceFactor sourceFactor, DestFactor destFactor) BlendPrograms(SourceFactor sourceFactor, DestFactor destFactor, SourceFactor sourceFactor2, DestFactor destFactor2) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedestAlpharecord component.Returns the value of thedestColorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thesourceAlpharecord component.Returns the value of thesourceColorrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
sourceColor
The field for thesourceColorrecord component. -
destColor
The field for thedestColorrecord component. -
sourceAlpha
The field for thesourceAlpharecord component. -
destAlpha
The field for thedestAlpharecord component. -
SKY_LIGHTNING
- Mappings:
Namespace Name Mixin selector named SKY_LIGHTNINGLnet/minecraft/client/gl/BlendPrograms;SKY_LIGHTNING:Lnet/minecraft/client/gl/BlendPrograms;intermediary field_56698Lnet/minecraft/class_10784;field_56698:Lnet/minecraft/class_10784;official aLfjn;a:Lfjn;
-
EQUIPMENT_GLINT
- Mappings:
Namespace Name Mixin selector named EQUIPMENT_GLINTLnet/minecraft/client/gl/BlendPrograms;EQUIPMENT_GLINT:Lnet/minecraft/client/gl/BlendPrograms;intermediary field_56699Lnet/minecraft/class_10784;field_56699:Lnet/minecraft/class_10784;official bLfjn;b:Lfjn;
-
POSITION_OVERLAY
- Mappings:
Namespace Name Mixin selector named POSITION_OVERLAYLnet/minecraft/client/gl/BlendPrograms;POSITION_OVERLAY:Lnet/minecraft/client/gl/BlendPrograms;intermediary field_56700Lnet/minecraft/class_10784;field_56700:Lnet/minecraft/class_10784;official cLfjn;c:Lfjn;
-
TRANSLUCENT
- Mappings:
Namespace Name Mixin selector named TRANSLUCENTLnet/minecraft/client/gl/BlendPrograms;TRANSLUCENT:Lnet/minecraft/client/gl/BlendPrograms;intermediary field_56701Lnet/minecraft/class_10784;field_56701:Lnet/minecraft/class_10784;official dLfjn;d:Lfjn;
-
ADD_PROGRAM
- Mappings:
Namespace Name Mixin selector named ADD_PROGRAMLnet/minecraft/client/gl/BlendPrograms;ADD_PROGRAM:Lnet/minecraft/client/gl/BlendPrograms;intermediary field_56702Lnet/minecraft/class_10784;field_56702:Lnet/minecraft/class_10784;official eLfjn;e:Lfjn;
-
PANORAMIC
- Mappings:
Namespace Name Mixin selector named PANORAMICLnet/minecraft/client/gl/BlendPrograms;PANORAMIC:Lnet/minecraft/client/gl/BlendPrograms;intermediary field_56703Lnet/minecraft/class_10784;field_56703:Lnet/minecraft/class_10784;official fLfjn;f:Lfjn;
-
OUTLINES
- Mappings:
Namespace Name Mixin selector named OUTLINESLnet/minecraft/client/gl/BlendPrograms;OUTLINES:Lnet/minecraft/client/gl/BlendPrograms;intermediary field_56704Lnet/minecraft/class_10784;field_56704:Lnet/minecraft/class_10784;official gLfjn;g:Lfjn;
-
-
Constructor Details
-
BlendPrograms
-
BlendPrograms
public BlendPrograms(SourceFactor sourceFactor, DestFactor destFactor, SourceFactor sourceFactor2, DestFactor destFactor2)
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
sourceColor
Returns the value of thesourceColorrecord component.- Returns:
- the value of the
sourceColorrecord component
-
destColor
Returns the value of thedestColorrecord component.- Returns:
- the value of the
destColorrecord component
-
sourceAlpha
Returns the value of thesourceAlpharecord component.- Returns:
- the value of the
sourceAlpharecord component
-
destAlpha
Returns the value of thedestAlpharecord component.- Returns:
- the value of the
destAlpharecord component
-