Uses of Class
nl.pim16aap2.lightkeeper.framework.WorldHandle
Packages that use WorldHandle
Package
Description
Public JUnit framework API for creating worlds and synthetic players and asserting game state.
AssertJ assertions for live server/plugin, world/block, entity-query, player, menu, event-capture and error state,
plus frozen inventory/item, event/value, result, entity/geometry and semantic chat snapshots.
-
Uses of WorldHandle in nl.pim16aap2.lightkeeper.framework
Methods in nl.pim16aap2.lightkeeper.framework that return WorldHandleModifier and TypeMethodDescriptionIWorldBuilder.build()Builds and creates the configured world.IWorlds.create()Creates a new world using framework defaults.Creates a new world from a world spec.IWorlds.fromTemplate(String templateName) Loads a world from a pre-provisioned template folder.WorldHandle.loadChunk(int chunkX, int chunkZ) Loads a chunk, generating it if it does not exist yet.IWorlds.main()Gets the main world handle.WorldHandle.unloadChunk(int chunkX, int chunkZ) Unloads a chunk.static WorldHandleFrameworkHandleFactory.worldHandle(IFrameworkGatewayView frameworkGateway, String worldName) Creates a world handle.Methods in nl.pim16aap2.lightkeeper.framework with parameters of type WorldHandleModifier and TypeMethodDescriptionIPlayerBuilder.atLocation(WorldHandle world, double x, double y, double z) Places the player in the target world at explicit coordinates.IPlayerBuilder.atSpawn(WorldHandle world) Places the player at the world spawn location.IPlayerBuilder.inWorld(WorldHandle world) Places the player in the target world at spawn coordinates.IBots.join(String name, UUID uuid, WorldHandle world) Joins an invulnerable synthetic player into a world at spawn.IBots.join(String name, WorldHandle world) Joins an invulnerable synthetic player into a world at spawn.PlayerHandle.teleport(WorldHandle world, double x, double y, double z) Teleports this player to target coordinates in a world.PlayerHandle.teleport(WorldHandle world, Vec3 position) Teleports this player to a target position in a world. -
Uses of WorldHandle in nl.pim16aap2.lightkeeper.framework.assertions
Methods in nl.pim16aap2.lightkeeper.framework.assertions with parameters of type WorldHandleModifier and TypeMethodDescriptionstatic WorldHandleAssertLightkeeperAssertions.assertThat(@Nullable WorldHandle actual) Creates an assertion chain for world-related state.