Record Class Vec3iWaypointData
java.lang.Object
java.lang.Record
org.geysermc.mcprotocollib.protocol.data.game.level.waypoint.Vec3iWaypointData
- All Implemented Interfaces:
WaypointData
public record Vec3iWaypointData(org.cloudburstmc.math.vector.Vector3i vector)
extends Record
implements WaypointData
-
Constructor Summary
ConstructorsConstructorDescriptionVec3iWaypointData(org.cloudburstmc.math.vector.Vector3i vector) Creates an instance of aVec3iWaypointDatarecord class. -
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.final StringtoString()Returns a string representation of this record class.org.cloudburstmc.math.vector.Vector3ivector()Returns the value of thevectorrecord component.
-
Constructor Details
-
Vec3iWaypointData
public Vec3iWaypointData(org.cloudburstmc.math.vector.Vector3i vector) Creates an instance of aVec3iWaypointDatarecord class.- Parameters:
vector- the value for thevectorrecord 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). -
vector
public org.cloudburstmc.math.vector.Vector3i vector()Returns the value of thevectorrecord component.- Returns:
- the value of the
vectorrecord component
-