Package net.minecraft.client.particle
Record Class Particle.DynamicAlpha
java.lang.Object
java.lang.Record
net.minecraft.client.particle.Particle.DynamicAlpha
- Record Components:
- startAlpha-
- endAlpha-
- startAtNormalizedAge-
- endAtNormalizedAge-
- Enclosing class:
- Particle
@Environment(CLIENT)
public static record Particle.DynamicAlpha(float startAlpha, float endAlpha, float startAtNormalizedAge, float endAtNormalizedAge)
extends Record
- Mappings:
- Namespace - Name - named - net/minecraft/client/particle/Particle$DynamicAlpha- intermediary - net/minecraft/class_703$class_9213- official - gji$a- named - startAlpha- intermediary - comp_2321- official - b- named - endAlpha- intermediary - comp_2322- official - c- named - startAtNormalizedAge- intermediary - comp_2323- official - d- named - endAtNormalizedAge- intermediary - comp_2324- official - e
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final floatThe field for theendAlpharecord component.private final floatThe field for theendAtNormalizedAgerecord component.static final Particle.DynamicAlphaprivate final floatThe field for thestartAlpharecord component.private final floatThe field for thestartAtNormalizedAgerecord component.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfloatendAlpha()Returns the value of theendAlpharecord component.floatReturns the value of theendAtNormalizedAgerecord component.final booleanIndicates whether some other object is "equal to" this one.floatgetAlpha(int age, int maxAge, float tickDelta) final inthashCode()Returns a hash code value for this object.booleanisOpaque()floatReturns the value of thestartAlpharecord component.floatReturns the value of thestartAtNormalizedAgerecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
startAlphaprivate final float startAlphaThe field for thestartAlpharecord component.
- 
endAlphaprivate final float endAlphaThe field for theendAlpharecord component.
- 
startAtNormalizedAgeprivate final float startAtNormalizedAgeThe field for thestartAtNormalizedAgerecord component.
- 
endAtNormalizedAgeprivate final float endAtNormalizedAgeThe field for theendAtNormalizedAgerecord component.
- 
OPAQUE- Mappings:
- Namespace - Name - Mixin selector - named - OPAQUE- Lnet/minecraft/client/particle/Particle$DynamicAlpha;OPAQUE:Lnet/minecraft/client/particle/Particle$DynamicAlpha;- intermediary - field_48941- Lnet/minecraft/class_703$class_9213;field_48941:Lnet/minecraft/class_703$class_9213;- official - a- Lgji$a;a:Lgji$a;
 
 
- 
- 
Constructor Details- 
DynamicAlphapublic DynamicAlpha(float float2, float float3, float float4, float float5) 
 
- 
- 
Method Details- 
isOpaquepublic boolean isOpaque()- Mappings:
- Namespace - Name - Mixin selector - named - isOpaque- Lnet/minecraft/client/particle/Particle$DynamicAlpha;isOpaque()Z- intermediary - method_56833- Lnet/minecraft/class_703$class_9213;method_56833()Z- official - a- Lgji$a;a()Z
 
- 
getAlphapublic float getAlpha(int age, int maxAge, float tickDelta) - Mappings:
- Namespace - Name - Mixin selector - named - getAlpha- Lnet/minecraft/client/particle/Particle$DynamicAlpha;getAlpha(IIF)F- intermediary - method_56834- Lnet/minecraft/class_703$class_9213;method_56834(IIF)F- official - a- Lgji$a;a(IIF)F
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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 '=='.
- 
startAlphapublic float startAlpha()Returns the value of thestartAlpharecord component.- Returns:
- the value of the startAlpharecord component
 
- 
endAlphapublic float endAlpha()Returns the value of theendAlpharecord component.- Returns:
- the value of the endAlpharecord component
 
- 
startAtNormalizedAgepublic float startAtNormalizedAge()Returns the value of thestartAtNormalizedAgerecord component.- Returns:
- the value of the startAtNormalizedAgerecord component
 
- 
endAtNormalizedAgepublic float endAtNormalizedAge()Returns the value of theendAtNormalizedAgerecord component.- Returns:
- the value of the endAtNormalizedAgerecord component
 
 
-