Class Point

java.lang.Object
me.lokka30.levelledmobs.misc.Point

public class Point extends Object
A smaller version of the Location class only including a world name, and three integers for the x, y and z. Finds uses where the extra data and precision of the Location class is completely unnecessary.
Since:
3.1.2
See Also:
  • Location
  • Constructor Details

    • Point

      public Point(String worldName, int x, int y, int z)
    • Point

      public Point(@NotNull @NotNull String str)
    • Point

      public Point(@NotNull @NotNull org.bukkit.Location location)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • matches

      public static boolean matches(@NotNull @NotNull Point point1, @NotNull @NotNull Point point2)