Package net.minecraft
Record Class class_11252
java.lang.Object
java.lang.Record
net.minecraft.class_11252
- Record Components:
renderState-translation-rotation-overrideCameraAngle-x0-y0-x1-y1-z-scale-layer-scissorArea-
- All Implemented Interfaces:
class_11256
@Environment(CLIENT)
public record class_11252(EntityRenderState renderState, Vector3f translation, Quaternionf rotation, @Nullable Quaternionf overrideCameraAngle, int x0, int y0, int x1, int y1, float z, float scale, class_11227 layer, @Nullable ScreenRect scissorArea)
extends Record
implements class_11256
- Mappings:
Namespace Name named net/minecraft/class_11252intermediary net/minecraft/class_11252official fzznamed renderStateintermediary comp_4134official anamed translationintermediary comp_4135official bnamed rotationintermediary comp_4136official cnamed overrideCameraAngleintermediary comp_4137official dnamed x0intermediary comp_4122official enamed y0intermediary comp_4123official fnamed x1intermediary comp_4124official gnamed y1intermediary comp_4125official hnamed zintermediary comp_4126official inamed scaleintermediary comp_4133official jnamed layerintermediary comp_4127official knamed scissorAreaintermediary comp_4128official l
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_11227The field for thelayerrecord component.private final @Nullable QuaternionfThe field for theoverrideCameraAnglerecord component.private final EntityRenderStateThe field for therenderStaterecord component.private final QuaternionfThe field for therotationrecord component.private final floatThe field for thescalerecord component.private final @Nullable ScreenRectThe field for thescissorArearecord component.private final Vector3fThe field for thetranslationrecord component.private final intThe field for thex0record component.private final intThe field for thex1record component.private final intThe field for they0record component.private final intThe field for they1record component.private final floatThe field for thezrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_11252(EntityRenderState entityRenderState, Vector3f vector3f, Quaternionf quaternionf, @Nullable Quaternionf quaternionf2, int int2, int int3, int int4, int int5, float float2, float float3, class_11227 class_11227, @Nullable ScreenRect screenRect) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.layer()Returns the value of thelayerrecord component.Returns the value of theoverrideCameraAnglerecord component.Returns the value of therenderStaterecord component.rotation()Returns the value of therotationrecord component.floatscale()Returns the value of thescalerecord component.Returns the value of thescissorArearecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetranslationrecord component.intx0()Returns the value of thex0record component.intx1()Returns the value of thex1record component.inty0()Returns the value of they0record component.inty1()Returns the value of they1record component.floatz()Returns the value of thezrecord component.
-
Field Details
-
renderState
The field for therenderStaterecord component. -
translation
The field for thetranslationrecord component. -
rotation
The field for therotationrecord component. -
overrideCameraAngle
The field for theoverrideCameraAnglerecord component. -
x0
private final int x0The field for thex0record component. -
y0
private final int y0The field for they0record component. -
x1
private final int x1The field for thex1record component. -
y1
private final int y1The field for they1record component. -
z
private final float zThe field for thezrecord component. -
scale
private final float scaleThe field for thescalerecord component. -
layer
The field for thelayerrecord component. -
scissorArea
The field for thescissorArearecord component.
-
-
Constructor Details
-
class_11252
public class_11252(EntityRenderState entityRenderState, Vector3f vector3f, Quaternionf quaternionf, @Nullable @Nullable Quaternionf quaternionf2, int int2, int int3, int int4, int int5, float float2, float float3, class_11227 class_11227, @Nullable @Nullable ScreenRect screenRect)
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
renderState
Returns the value of therenderStaterecord component.- Returns:
- the value of the
renderStaterecord component
-
translation
Returns the value of thetranslationrecord component.- Returns:
- the value of the
translationrecord component
-
rotation
Returns the value of therotationrecord component.- Returns:
- the value of the
rotationrecord component
-
overrideCameraAngle
Returns the value of theoverrideCameraAnglerecord component.- Returns:
- the value of the
overrideCameraAnglerecord component
-
x0
public int x0()Returns the value of thex0record component.- Specified by:
x0in interfaceclass_11256- Returns:
- the value of the
x0record component
-
y0
public int y0()Returns the value of they0record component.- Specified by:
y0in interfaceclass_11256- Returns:
- the value of the
y0record component
-
x1
public int x1()Returns the value of thex1record component.- Specified by:
x1in interfaceclass_11256- Returns:
- the value of the
x1record component
-
y1
public int y1()Returns the value of they1record component.- Specified by:
y1in interfaceclass_11256- Returns:
- the value of the
y1record component
-
z
public float z()Returns the value of thezrecord component.- Specified by:
zin interfaceclass_11256- Returns:
- the value of the
zrecord component
-
scale
public float scale()Returns the value of thescalerecord component.- Specified by:
scalein interfaceclass_11256- Returns:
- the value of the
scalerecord component
-
layer
Returns the value of thelayerrecord component.- Specified by:
layerin interfaceclass_11256- Returns:
- the value of the
layerrecord component
-
scissorArea
Returns the value of thescissorArearecord component.- Specified by:
scissorAreain interfaceclass_11256- Returns:
- the value of the
scissorArearecord component
-