Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

findAimedSlot

findAimedSlot(world, piece, hit, quarterTurns): AimedSlot

The slot piece takes where an aim met hit on world’s grid, turned quarterTurns: an inside piece or a floor in the cell beside the face it met, as Minecraft places a block; a wall on the cell edge nearest the point, its turns flipping its face. What a build tool’s ghost stands on, and what a game’s own tool or a block game calls.

Parameter Type
world World
piece PieceHandle
hit AimHit
quarterTurns number

AimedSlot