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(GlStateManager.SrcFactor sourceColor, GlStateManager.DstFactor destColor, GlStateManager.SrcFactor sourceAlpha, GlStateManager.DstFactor destAlpha)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/gl/BlendProgramsintermediary net/minecraft/class_10784official fianamed sourceColorintermediary comp_3695official hnamed destColorintermediary comp_3696official inamed sourceAlphaintermediary comp_3697official jnamed destAlphaintermediary comp_3698official k
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BlendProgramsprivate final GlStateManager.DstFactorThe field for thedestAlpharecord component.private final GlStateManager.DstFactorThe field for thedestColorrecord component.static final BlendProgramsstatic final BlendProgramsstatic final BlendProgramsstatic final BlendProgramsstatic final BlendProgramsprivate final GlStateManager.SrcFactorThe field for thesourceAlpharecord component.private final GlStateManager.SrcFactorThe field for thesourceColorrecord component.static final BlendPrograms -
Constructor Summary
ConstructorsConstructorDescriptionBlendPrograms(GlStateManager.SrcFactor source, GlStateManager.DstFactor dest) BlendPrograms(GlStateManager.SrcFactor srcFactor, GlStateManager.DstFactor dstFactor, GlStateManager.SrcFactor srcFactor2, GlStateManager.DstFactor dstFactor2) -
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.voidinit()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 aLfia;a:Lfia;
-
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 bLfia;b:Lfia;
-
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 cLfia;c:Lfia;
-
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 dLfia;d:Lfia;
-
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 eLfia;e:Lfia;
-
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 fLfia;f:Lfia;
-
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 gLfia;g:Lfia;
-
-
Constructor Details
-
BlendPrograms
- 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;)Vintermediary <init>Lnet/minecraft/class_10784;<init>(Lcom/mojang/blaze3d/platform/GlStateManager$class_4535;Lcom/mojang/blaze3d/platform/GlStateManager$class_4534;)Vofficial <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 initLnet/minecraft/client/gl/BlendPrograms;init()Vintermediary method_67723Lnet/minecraft/class_10784;method_67723()Vofficial aLfia;a()V
-
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
-