Record Class DebugStructureInfo
java.lang.Object
java.lang.Record
net.minestom.server.network.debug.info.DebugStructureInfo
public record DebugStructureInfo(BlockBoundingBox boundingBox, List<DebugStructureInfo.Piece> pieces)
extends Record
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDebugStructureInfo(BlockBoundingBox boundingBox, List<DebugStructureInfo.Piece> pieces) Creates an instance of aDebugStructureInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theboundingBoxrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.pieces()Returns the value of thepiecesrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
SERIALIZER
-
-
Constructor Details
-
DebugStructureInfo
Creates an instance of aDebugStructureInforecord class.- Parameters:
boundingBox- the value for theboundingBoxrecord componentpieces- the value for thepiecesrecord component
-
-
Method Details
-
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 withObjects::equals(Object,Object). -
boundingBox
Returns the value of theboundingBoxrecord component.- Returns:
- the value of the
boundingBoxrecord component
-
pieces
Returns the value of thepiecesrecord component.- Returns:
- the value of the
piecesrecord component
-