Package net.minecraft.entity.decoration
Record Class DisplayEntity.RenderState
java.lang.Object
java.lang.Record
net.minecraft.entity.decoration.DisplayEntity.RenderState
- Record Components:
- transformation-
- billboardConstraints-
- brightnessOverride-
- shadowRadius-
- shadowStrength-
- glowColorOverride-
- Enclosing class:
- DisplayEntity
public static record DisplayEntity.RenderState(DisplayEntity.AbstractInterpolator<AffineTransformation> transformation, DisplayEntity.BillboardMode billboardConstraints, int brightnessOverride, DisplayEntity.FloatLerper shadowRadius, DisplayEntity.FloatLerper shadowStrength, int glowColorOverride)
extends Record
- Mappings:
- Namespace - Name - named - net/minecraft/entity/decoration/DisplayEntity$RenderState- intermediary - net/minecraft/class_8113$class_8229- official - buk$k- named - transformation- intermediary - comp_1328- official - a- named - billboardConstraints- intermediary - comp_1329- official - b- named - brightnessOverride- intermediary - comp_1330- official - c- named - shadowRadius- intermediary - comp_1331- official - d- named - shadowStrength- intermediary - comp_1332- official - e- named - glowColorOverride- intermediary - comp_1333- official - f
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final DisplayEntity.BillboardModeThe field for thebillboardConstraintsrecord component.private final intThe field for thebrightnessOverriderecord component.private final intThe field for theglowColorOverriderecord component.private final DisplayEntity.FloatLerperThe field for theshadowRadiusrecord component.private final DisplayEntity.FloatLerperThe field for theshadowStrengthrecord component.private final DisplayEntity.AbstractInterpolator<AffineTransformation> The field for thetransformationrecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionRenderState(DisplayEntity.AbstractInterpolator<AffineTransformation> abstractInterpolator, DisplayEntity.BillboardMode billboardMode, int int2, DisplayEntity.FloatLerper floatLerper, DisplayEntity.FloatLerper floatLerper2, int int3) 
- 
Method SummaryModifier and TypeMethodDescriptionReturns the value of thebillboardConstraintsrecord component.intReturns the value of thebrightnessOverriderecord component.final booleanIndicates whether some other object is "equal to" this one.intReturns the value of theglowColorOverriderecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theshadowRadiusrecord component.Returns the value of theshadowStrengthrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetransformationrecord component.
- 
Field Details- 
transformationThe field for thetransformationrecord component.
- 
billboardConstraintsThe field for thebillboardConstraintsrecord component.
- 
brightnessOverrideprivate final int brightnessOverrideThe field for thebrightnessOverriderecord component.
- 
shadowRadiusThe field for theshadowRadiusrecord component.
- 
shadowStrengthThe field for theshadowStrengthrecord component.
- 
glowColorOverrideprivate final int glowColorOverrideThe field for theglowColorOverriderecord component.
 
- 
- 
Constructor Details- 
RenderStatepublic RenderState(DisplayEntity.AbstractInterpolator<AffineTransformation> abstractInterpolator, DisplayEntity.BillboardMode billboardMode, int int2, DisplayEntity.FloatLerper floatLerper, DisplayEntity.FloatLerper floatLerper2, int int3) 
 
- 
- 
Method Details- 
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='.
- 
transformationReturns the value of thetransformationrecord component.- Returns:
- the value of the transformationrecord component
 
- 
billboardConstraintsReturns the value of thebillboardConstraintsrecord component.- Returns:
- the value of the billboardConstraintsrecord component
 
- 
brightnessOverridepublic int brightnessOverride()Returns the value of thebrightnessOverriderecord component.- Returns:
- the value of the brightnessOverriderecord component
 
- 
shadowRadiusReturns the value of theshadowRadiusrecord component.- Returns:
- the value of the shadowRadiusrecord component
 
- 
shadowStrengthReturns the value of theshadowStrengthrecord component.- Returns:
- the value of the shadowStrengthrecord component
 
- 
glowColorOverridepublic int glowColorOverride()Returns the value of theglowColorOverriderecord component.- Returns:
- the value of the glowColorOverriderecord component
 
 
-