Package-level declarations
Types
Contains information about offsets (to the target pos) which should be investigated.
Parameters used when generating a targeting plan for a block placement.
Like CenterTargetPositionFactory, but prefers an unobstructed point on the face.
How the click of a BlockPlacementTarget is traced.
Decides how scaffold processes the faces of the considered target blocks.
What a failed click verification reports.
Always targets the point with the nearest rotation angle to the current rotation angle
Contains the player's state on placement. Everything that depends on the player has to be read from here instead of the live player, so that the aim is derived from one single state.
Always targets the point with the nearest rotation angle to the current rotation angle. If you have questions, you have to ask @superblaubeere27 because I am too stupid to explain this without a picture.
Functions
Finds the best way to place BlockPlacementTargetFindingOptions.stackToPlaceWith at pos or, if pos cannot receive it, at one of the positions the offset options investigate (in priority order).
Trims a face to be only as wide as the config allows it to be
Verifies that this target can be clicked right now, i.e. that the interaction would be accepted.