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 Summary
Modifier and TypeMethodDescriptionbuilder()Creates a player builder.join(String name, UUID uuid, WorldHandle world) Joins an invulnerable synthetic player into a world at spawn.join(String name, WorldHandle world) Joins an invulnerable synthetic player into a world at spawn.
-
Method Details
-
join
Joins an invulnerable synthetic player into a world at spawn.- Parameters:
name- Player name.world- Target world.- Returns:
- The joined player handle.
-
join
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.
-