Uses of Class
nl.pim16aap2.lightkeeper.framework.assertions.PlayerHandleAssert
Packages that use PlayerHandleAssert
Package
Description
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 PlayerHandleAssert in nl.pim16aap2.lightkeeper.framework.assertions
Methods in nl.pim16aap2.lightkeeper.framework.assertions that return PlayerHandleAssertModifier and TypeMethodDescriptionstatic PlayerHandleAssertLightkeeperAssertions.assertThat(@Nullable PlayerHandle actual) Creates an assertion chain for player-related state.PlayerHandleAssert.doesNotHaveItemInInventory(String materialKey) Asserts that the player does not have an item with the specified material in their inventory.PlayerHandleAssert.doesNotHaveOpenMenu()Asserts that the player currently has no actionable menu open, without waiting.PlayerHandleAssert.doesNotHavePermission(String permission) Asserts that the player's current effective Bukkit permissions do not grant the node.PlayerHandleAssert.hasClickableChatText(String expectedText) Asserts that at least one captured chat component contains clickable text matching the fragment.PlayerHandleAssert.hasItemInInventory(String materialKey) Asserts that the player has an item with the specified material in their inventory.Asserts that the player has the expected name.PlayerHandleAssert.hasOpenMenu()Asserts that the player currently has an actionable menu open.PlayerHandleAssert.hasPermission(String permission) Asserts that the player's current effective Bukkit permissions grant the node.PlayerHandleAssert.receivedMessage(String expectedFragment) Asserts that at least one received message contains the requested text fragment.