Package net.minecraft
Record Class class_11245
java.lang.Object
java.lang.Record
net.minecraft.class_11245
- Record Components:
name-pose-itemStackRenderState-x-y-z-layer-scissorArea-
@Environment(CLIENT)
public record class_11245(String name, Matrix3x2f pose, ItemRenderState itemStackRenderState, int x, int y, float z, class_11227 layer, @Nullable ScreenRect scissorArea)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_11245intermediary net/minecraft/class_11245official fzsnamed nameintermediary comp_4090official anamed poseintermediary comp_4091official bnamed itemStackRenderStateintermediary comp_4092official cnamed xintermediary comp_4093official dnamed yintermediary comp_4094official enamed zintermediary comp_4095official fnamed layerintermediary comp_4096official gnamed scissorAreaintermediary comp_4097official h
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ItemRenderStateThe field for theitemStackRenderStaterecord component.private final class_11227The field for thelayerrecord component.private final StringThe field for thenamerecord component.private final Matrix3x2fThe field for theposerecord component.private final @Nullable ScreenRectThe field for thescissorArearecord component.private final intThe field for thexrecord component.private final intThe field for theyrecord component.private final floatThe field for thezrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_11245(String string, Matrix3x2f matrix3x2f, ItemRenderState itemRenderState, int int2, int int3, float float2, 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.Returns the value of theitemStackRenderStaterecord component.layer()Returns the value of thelayerrecord component.name()Returns the value of thenamerecord component.pose()Returns the value of theposerecord component.Returns the value of thescissorArearecord component.final StringtoString()Returns a string representation of this record class.intx()Returns the value of thexrecord component.inty()Returns the value of theyrecord component.floatz()Returns the value of thezrecord component.
-
Field Details
-
name
The field for thenamerecord component. -
pose
The field for theposerecord component. -
itemStackRenderState
The field for theitemStackRenderStaterecord component. -
x
private final int xThe field for thexrecord component. -
y
private final int yThe field for theyrecord component. -
z
private final float zThe field for thezrecord component. -
layer
The field for thelayerrecord component. -
scissorArea
The field for thescissorArearecord component.
-
-
Constructor Details
-
class_11245
public class_11245(String string, Matrix3x2f matrix3x2f, ItemRenderState itemRenderState, int int2, int int3, float float2, 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 '=='. -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
pose
Returns the value of theposerecord component.- Returns:
- the value of the
poserecord component
-
itemStackRenderState
Returns the value of theitemStackRenderStaterecord component.- Returns:
- the value of the
itemStackRenderStaterecord component
-
x
public int x()Returns the value of thexrecord component.- Returns:
- the value of the
xrecord component
-
y
public int y()Returns the value of theyrecord component.- Returns:
- the value of the
yrecord component
-
z
public float z()Returns the value of thezrecord component.- Returns:
- the value of the
zrecord component
-
layer
Returns the value of thelayerrecord component.- Returns:
- the value of the
layerrecord component
-
scissorArea
Returns the value of thescissorArearecord component.- Returns:
- the value of the
scissorArearecord component
-