Package-level declarations
Types
Link copied to clipboard
class GameTest(val config: GameTestConfig, val world: World, val center: BlockPosition, val boundingBox: BoundingBox)
Represents a running game test. A game test is a special blocked-off area in the world that allows you to test blocks, items, entities, and other game mechanics in a controlled environment. It contains a success condition that looks at the world and determines when the test has succeeded.
Link copied to clipboard
class GameTestConfig(key: NamespacedKey, val size: Int, val setUp: Consumer<GameTest>, val delayTicks: Int, val timeoutTicks: Int, val positionOverride: BlockPosition?) : Keyed
Represents the configuration for a game test. Prefer using the Builder to create instances of this class.
Link copied to clipboard