Class Location2D

    • Method Detail

      • from

        public static @NonNull Location2D from​(@Nullable World world,
                                               double x,
                                               double z)
        Get a new Location2D
        Parameters:
        world - World this location is in
        x - X position for this location
        z - Z position for this location
        Returns:
        Location2D