Interface IBots


public interface IBots
Bots facet of the framework: join synthetic players into a world, or configure one through a builder.

Obtained from ILightkeeperFramework.bots().

  • Method Details

    • join

      PlayerHandle join(String name, WorldHandle world)
      Joins an invulnerable synthetic player into a world at spawn.
      Parameters:
      name - Player name.
      world - Target world.
      Returns:
      The joined player handle.
    • join

      PlayerHandle join(String name, UUID uuid, WorldHandle world)
      Joins an invulnerable synthetic player into a world at spawn.
      Parameters:
      name - Player name.
      uuid - Player UUID.
      world - Target world.
      Returns:
      The joined player handle.
    • builder

      IPlayerBuilder builder()
      Creates a player builder.
      Returns:
      A new player builder.