All Classes and Interfaces

Class
Description
 
Where a line's blocks come from: a block in hand (plus inventory and supplies), or an item that picks blocks.
A block in hand.
A non-block item that places blocks, see HeldItemHandler.
An extra source of blocks for a line, like a bag.
Which positions a drag from start to end covers, for each BuildMode.
The shape a drag fills, see BuildGeometry.
 
 
 
 
 
 
 
 
 
 
 
Lets a non-block item that places blocks (like a bag) draw lines.
 
 
Linear's API for other mods.
 
 
/linear: per-player overrides of the server config.
 
 
Drawing a line on the client: press use while sneaking to start, release to finish.
 
Holds the registrar during RegisterPayloadHandlersEvent for the platform helper.
 
Per-player data: building on/off, the current mode, and overrides set with /linear.
Defaults for every player; /linear can override them per player.
 
The limits for one player: the server config plus their overrides.
A player's Linear state on either side.
The local player's state as last sent by the server, plus the current drag.
A line being dragged.
Places the blocks of a line on the server, and works out the positions for the preview.
Building lines on the server: what gets placed, what gets used up, and what gets refused.
Shows the line being dragged as ghost blocks, tinted red where they won't be placed (out of blocks, out of range or over the limit) and blue on the end.
 
Shows the build mode and whether building is on while holding something that can draw lines, and the block count next to the crosshair while dragging.
"Build mode unlocked!" toast, shown after /linear mode enable.