Uses of Record Class
nl.pim16aap2.lightkeeper.framework.BlockSpec
Packages that use BlockSpec
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 BlockSpec in nl.pim16aap2.lightkeeper.framework
Methods in nl.pim16aap2.lightkeeper.framework that return BlockSpecModifier and TypeMethodDescriptionstatic BlockSpecCreates a spec for a material key with no state properties.static BlockSpecBlockSpec.of(org.bukkit.Material material) Creates a spec for a material with no state properties.static BlockSpecParses a block-data style string into a spec.Returns a copy of this spec with one property set.Methods in nl.pim16aap2.lightkeeper.framework with parameters of type BlockSpecModifier and TypeMethodDescriptionbooleanChecks whether the block currently matches a spec (partial matching: only the spec's named properties are compared).booleanChecks whether this state matches a spec: the material must be equal and every property the spec names must have the spec's value.voidWorldHandle.setBlockAt(BlockPos position, BlockSpec spec) Sets the block at a position from a block spec, applying type and state properties atomically. -
Uses of BlockSpec in nl.pim16aap2.lightkeeper.framework.assertions
Methods in nl.pim16aap2.lightkeeper.framework.assertions with parameters of type BlockSpecModifier and TypeMethodDescriptionChecks material and only the state properties named by the spec, reading one snapshot.Checks material and every explicitly named property.Checks a partial state spec using one frozen observation.