Record Class DebugOrientationInfo
java.lang.Object
java.lang.Record
org.geysermc.mcprotocollib.protocol.data.game.debug.DebugOrientationInfo
- All Implemented Interfaces:
DebugInfo
-
Constructor Summary
ConstructorsConstructorDescriptionDebugOrientationInfo(int orientationId) Creates an instance of aDebugOrientationInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.getType()final inthashCode()Returns a hash code value for this object.intReturns the value of theorientationIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DebugOrientationInfo
public DebugOrientationInfo(int orientationId) Creates an instance of aDebugOrientationInforecord class.- Parameters:
orientationId- the value for theorientationIdrecord component
-
-
Method Details
-
getType
-
toString
-
hashCode
-
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 with thecomparemethod from their corresponding wrapper classes. -
orientationId
public int orientationId()Returns the value of theorientationIdrecord component.- Returns:
- the value of the
orientationIdrecord component
-