Package net.minecraft
Record Class class_12160.class_12164
java.lang.Object
java.lang.Record
net.minecraft.class_12160.class_12164
- Record Components:
pos-text-style-
- Enclosing class:
class_12160
@Environment(CLIENT)
private static record class_12160.class_12164(Vec3d pos, String text, class_12187.class_12188 style)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_12160$class_12164intermediary net/minecraft/class_12160$class_12164official iat$dnamed posintermediary comp_5082official anamed textintermediary comp_5083official bnamed styleintermediary comp_5084official c
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionclass_12164(Vec3d vec3d, String string, class_12187.class_12188 class_12188) -
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.pos()Returns the value of theposrecord component.style()Returns the value of thestylerecord component.text()Returns the value of thetextrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
class_12164
class_12164(Vec3d vec3d, String string, class_12187.class_12188 class_12188)
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
pos
Returns the value of theposrecord component.- Returns:
- the value of the
posrecord component
-
text
Returns the value of thetextrecord component.- Returns:
- the value of the
textrecord component
-
style
Returns the value of thestylerecord component.- Returns:
- the value of the
stylerecord component
-