Package net.minecraft
Record Class class_12174
java.lang.Object
java.lang.Record
net.minecraft.class_12174
- Record Components:
aabb-style-coloredCornerStroke-
- All Implemented Interfaces:
class_12175
public record class_12174(Box aabb, class_12179 style, boolean coloredCornerStroke)
extends Record
implements class_12175
- Mappings:
Namespace Name named net/minecraft/class_12174intermediary net/minecraft/class_12174official ulnamed aabbintermediary comp_5097official anamed styleintermediary comp_5098official bnamed coloredCornerStrokeintermediary comp_5099official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BoxThe field for theaabbrecord component.private final booleanThe field for thecoloredCornerStrokerecord component.private final class_12179The field for thestylerecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaabb()Returns the value of theaabbrecord component.booleanReturns the value of thecoloredCornerStrokerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.voidmethod_75531(class_12177 class_12177) style()Returns the value of thestylerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
aabb
The field for theaabbrecord component. -
style
The field for thestylerecord component. -
coloredCornerStroke
private final boolean coloredCornerStrokeThe field for thecoloredCornerStrokerecord component.
-
-
Constructor Details
-
class_12174
-
-
Method Details
-
method_75531
- Specified by:
method_75531in interfaceclass_12175- Mappings:
Namespace Name Mixin selector named method_75531Lnet/minecraft/class_12175;method_75531(Lnet/minecraft/class_12177;)Vintermediary method_75531Lnet/minecraft/class_12175;method_75531(Lnet/minecraft/class_12177;)Vofficial aLum;a(Luo;)V
-
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 '=='. -
aabb
Returns the value of theaabbrecord component.- Returns:
- the value of the
aabbrecord component
-
style
Returns the value of thestylerecord component.- Returns:
- the value of the
stylerecord component
-
coloredCornerStroke
public boolean coloredCornerStroke()Returns the value of thecoloredCornerStrokerecord component.- Returns:
- the value of the
coloredCornerStrokerecord component
-