Interface ILocationFactory

All Known Implementing Classes:
LocationFactorySpigot

public interface ILocationFactory
Represents a factory for ILocation objects.
  • Method Details

    • create

      ILocation create(IWorld world, double x, double y, double z)
      Creates a new ILocation.
      Parameters:
      world - The world.
      x - The x coordinate.
      y - The y coordinate.
      z - The z coordinate.
      Returns:
      A new ILocation object.
    • create

      ILocation create(IWorld world, IVector3D position)
      Creates a new ILocation.
      Parameters:
      world - The world.
      position - The position in the world
      Returns:
      A new ILocation object.
    • create

      ILocation create(String worldName, double x, double y, double z)
      Creates a new ILocation.
      Parameters:
      worldName - The name of the world.
      x - The x coordinate.
      y - The y coordinate.
      z - The z coordinate.
      Returns:
      A new ILocation object.
    • create

      ILocation create(String worldName, IVector3D position)
      Creates a new ILocation.
      Parameters:
      worldName - The name of the world.
      position - The position in the world
      Returns:
      A new ILocation object.