Package net.minecraft
Record Class class_11251
java.lang.Object
java.lang.Record
net.minecraft.class_11251
- Record Components:
bookModel-texture-open-flip-x0-y0-x1-y1-z-scale-layer-scissorArea-
- All Implemented Interfaces:
class_11256
@Environment(CLIENT)
public record class_11251(BookModel bookModel, Identifier texture, float open, float flip, 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_11251intermediary net/minecraft/class_11251official fzynamed bookModelintermediary comp_4129official anamed textureintermediary comp_4130official bnamed openintermediary comp_4131official cnamed flipintermediary comp_4132official 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 BookModelThe field for thebookModelrecord component.private final floatThe field for thefliprecord component.private final class_11227The field for thelayerrecord component.private final floatThe field for theopenrecord 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_11251(BookModel bookModel, Identifier identifier, float float2, float float3, int int2, int int3, int int4, int int5, float float4, float float5, class_11227 class_11227, @Nullable ScreenRect screenRect) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebookModelrecord component.final booleanIndicates whether some other object is "equal to" this one.floatflip()Returns the value of thefliprecord component.final inthashCode()Returns a hash code value for this object.layer()Returns the value of thelayerrecord component.floatopen()Returns the value of theopenrecord 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
-
bookModel
The field for thebookModelrecord component. -
texture
The field for thetexturerecord component. -
open
private final float openThe field for theopenrecord component. -
flip
private final float flipThe field for thefliprecord 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_11251
public class_11251(BookModel bookModel, Identifier identifier, float float2, float float3, int int2, int int3, int int4, int int5, float float4, float float5, 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 '=='. -
bookModel
Returns the value of thebookModelrecord component.- Returns:
- the value of the
bookModelrecord component
-
texture
Returns the value of thetexturerecord component.- Returns:
- the value of the
texturerecord component
-
open
public float open()Returns the value of theopenrecord component.- Returns:
- the value of the
openrecord component
-
flip
public float flip()Returns the value of thefliprecord component.- Returns:
- the value of the
fliprecord 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
-