diff --git a/src/main/java/net/minestom/server/coordinate/Point.java b/src/main/java/net/minestom/server/coordinate/Point.java index 518d2a796..8427d2429 100644 --- a/src/main/java/net/minestom/server/coordinate/Point.java +++ b/src/main/java/net/minestom/server/coordinate/Point.java @@ -11,9 +11,6 @@ import java.util.function.DoubleUnaryOperator; /** * Represents a 3D point. - *
- * Can either be a {@link Pos} or {@link Vec}. - * Interface will become {@code sealed} in the future. */ public sealed interface Point permits Vec, Pos { diff --git a/src/main/java/net/minestom/server/coordinate/Pos.java b/src/main/java/net/minestom/server/coordinate/Pos.java index e03afffb1..437f8d054 100644 --- a/src/main/java/net/minestom/server/coordinate/Pos.java +++ b/src/main/java/net/minestom/server/coordinate/Pos.java @@ -10,7 +10,7 @@ import java.util.function.DoubleUnaryOperator; /** * Represents a position containing coordinates and a view. *
- * To become record and primitive. + * To become a value then primitive type. */ public record Pos(double x, double y, double z, float yaw, float pitch) implements Point { public static final Pos ZERO = new Pos(0, 0, 0); diff --git a/src/main/java/net/minestom/server/coordinate/Vec.java b/src/main/java/net/minestom/server/coordinate/Vec.java index e3118f77f..ae34febd1 100644 --- a/src/main/java/net/minestom/server/coordinate/Vec.java +++ b/src/main/java/net/minestom/server/coordinate/Vec.java @@ -10,7 +10,7 @@ import java.util.function.DoubleUnaryOperator; /** * Represents an immutable 3D vector. *
- * To become record and primitive. + * To become a value then primitive type. */ public record Vec(double x, double y, double z) implements Point { public static final Vec ZERO = new Vec(0);