SubTick
The modification extends the Carpet module's functionality by providing advanced control over game ticking with step-by-step execution at the level of various phases within a game tick.
Control Commands
Arguments in square brackets [] are optional, while those in angle brackets <> are obligatory. If a default value like count=1 is specified, then 1 will be used automatically.
tick freeze [phase=subtickDefaultPhase]- Freezes or unfreezes the game before the specified phasetick step [count=1] [phase=subtickDefaultPhase]- Executes the specified number of ticks, ending before the required phase. Supports tick step 0 to move to a later phase within the current tickphaseStep [count=1]- Moves forward by the specified number of phases, moving to the next tick if necessaryphaseStep <phase>- Goes to the specified phase within the current tickphaseStep <phase> force- Goes to the next occurrence of the phase, moving to the next tick if necessaryqueueStep <queue> [count=1] [range=subtickDefaultRange]- Executes elements from the queue within the specified radius inside the current tick. Use range=-1 for unlimited radiusqueueStep <queue> [count=1] [range=subtickDefaultRange] force- Executes elements from the queue within the radius, moving to the next tick if necessary
Special Cases
Block events and block ticks support additional execution modes:
queueStep blockEvent [mode=index] [count=1] [range=subtickDefaultRange] [force]queueStep blockTick [mode=index] [count=1] [range=subtickDefaultRange] [force]
Interface Settings
Access to settings is provided via Modmenu.
- Completed - Elements that have already been processed
- Current - Elements currently being processed in the last queueStep
- Pending - Elements that haven't been processed yet
- Separator - Color for table cell borders
- Position - Color for the arrow and line showing the current position in the tick
- HUD Alignment - Screen edge or corner for interface placement
- HUD Offset - Pixel offset from the selected position
- Max Queue Size - Maximum number of queue elements displayed in the interface
- Max Highlight Size - Maximum number of highlighted elements
Carpet Rules
The mod uses Carpet's rule system for parameter configuration:
subtickDefaultPhase=blockTick- Default phase for freezing and execution if not specified in the commandsubtickDefaultRange=32- Default range for queueStep operationsubtickTextFormat=ig- Format for text in command responsessubtickNumberFormat=iy- Format for numbers in command responsessubtickPhaseFormat=it- Format for phases in command responsessubtickDimensionFormat=im- Format for dimensions in command responsessubtickErrorFormat=ir- Format for errors in command responses