Package net.minecraft
Record Class class_11255
java.lang.Object
java.lang.Record
net.minecraft.class_11255
- Record Components:
playerModel-texture-rotationX-rotationY-pivotY-x0-y0-x1-y1-z-scale-layer-scissorArea-
- All Implemented Interfaces:
class_11256
@Environment(CLIENT)
public record class_11255(PlayerEntityModel playerModel, Identifier texture, float rotationX, float rotationY, float pivotY, 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_11255intermediary net/minecraft/class_11255official gacnamed playerModelintermediary comp_4141official anamed textureintermediary comp_4142official bnamed rotationXintermediary comp_4143official cnamed rotationYintermediary comp_4144official dnamed pivotYintermediary comp_4145official enamed x0intermediary comp_4122official fnamed y0intermediary comp_4123official gnamed x1intermediary comp_4124official hnamed y1intermediary comp_4125official inamed zintermediary comp_4126official jnamed scaleintermediary comp_4133official knamed layerintermediary comp_4127official lnamed scissorAreaintermediary comp_4128official m
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_11227The field for thelayerrecord component.private final floatThe field for thepivotYrecord component.private final PlayerEntityModelThe field for theplayerModelrecord component.private final floatThe field for therotationXrecord component.private final floatThe field for therotationYrecord component.private final floatThe field for thescalerecord component.private final @Nullable ScreenRectThe field for thescissorArearecord component.private final IdentifierThe field for thetexturerecord 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_11255(PlayerEntityModel playerEntityModel, Identifier identifier, float float2, float float3, float float4, int int2, int int3, int int4, int int5, float float5, float float6, 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.floatpivotY()Returns the value of thepivotYrecord component.Returns the value of theplayerModelrecord component.floatReturns the value of therotationXrecord component.floatReturns the value of therotationYrecord component.floatscale()Returns the value of thescalerecord component.Returns the value of thescissorArearecord component.texture()Returns the value of thetexturerecord component.final StringtoString()Returns a string representation of this record class.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
-
playerModel
The field for theplayerModelrecord component. -
texture
The field for thetexturerecord component. -
rotationX
private final float rotationXThe field for therotationXrecord component. -
rotationY
private final float rotationYThe field for therotationYrecord component. -
pivotY
private final float pivotYThe field for thepivotYrecord 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_11255
public class_11255(PlayerEntityModel playerEntityModel, Identifier identifier, float float2, float float3, float float4, int int2, int int3, int int4, int int5, float float5, float float6, 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 '=='. -
playerModel
Returns the value of theplayerModelrecord component.- Returns:
- the value of the
playerModelrecord component
-
texture
Returns the value of thetexturerecord component.- Returns:
- the value of the
texturerecord component
-
rotationX
public float rotationX()Returns the value of therotationXrecord component.- Returns:
- the value of the
rotationXrecord component
-
rotationY
public float rotationY()Returns the value of therotationYrecord component.- Returns:
- the value of the
rotationYrecord component
-
pivotY
public float pivotY()Returns the value of thepivotYrecord component.- Returns:
- the value of the
pivotYrecord 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
-