Package net.minecraft
Record Class class_11254
java.lang.Object
java.lang.Record
net.minecraft.class_11254
- Record Components:
signModel-woodType-x0-y0-x1-y1-z-scale-layer-scissorArea-
- All Implemented Interfaces:
class_11256
@Environment(CLIENT)
public record class_11254(Model signModel, WoodType woodType, 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_11254intermediary net/minecraft/class_11254official gabnamed signModelintermediary comp_4139official anamed woodTypeintermediary comp_4140official bnamed x0intermediary comp_4122official cnamed y0intermediary comp_4123official dnamed x1intermediary comp_4124official enamed y1intermediary comp_4125official fnamed zintermediary comp_4126official gnamed scaleintermediary comp_4133official hnamed layerintermediary comp_4127official inamed scissorAreaintermediary comp_4128official j
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_11227The field for thelayerrecord component.private final floatThe field for thescalerecord component.private final @Nullable ScreenRectThe field for thescissorArearecord component.private final ModelThe field for thesignModelrecord component.private final WoodTypeThe field for thewoodTyperecord 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_11254(Model model, WoodType woodType, 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.floatscale()Returns the value of thescalerecord component.Returns the value of thescissorArearecord component.Returns the value of thesignModelrecord component.final StringtoString()Returns a string representation of this record class.woodType()Returns the value of thewoodTyperecord 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
-
signModel
The field for thesignModelrecord component. -
woodType
The field for thewoodTyperecord 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_11254
public class_11254(Model model, WoodType woodType, 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 '=='. -
signModel
Returns the value of thesignModelrecord component.- Returns:
- the value of the
signModelrecord component
-
woodType
Returns the value of thewoodTyperecord component.- Returns:
- the value of the
woodTyperecord 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
-