Download SubTick — Minecraft Mods — MetaMods

SubTick

Active

Downloads

19

Last update

5 months ago

Versions

1.17 — 1.20.1
Server
Fabric
Utils

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.

Mod interface

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 phase
  • tick 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 tick
  • phaseStep [count=1] - Moves forward by the specified number of phases, moving to the next tick if necessary
  • phaseStep <phase> - Goes to the specified phase within the current tick
  • phaseStep <phase> force - Goes to the next occurrence of the phase, moving to the next tick if necessary
  • queueStep <queue> [count=1] [range=subtickDefaultRange] - Executes elements from the queue within the specified radius inside the current tick. Use range=-1 for unlimited radius
  • queueStep <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.

Interface settings 1 Interface settings 2

  • 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 command
  • subtickDefaultRange=32 - Default range for queueStep operation
  • subtickTextFormat=ig - Format for text in command responses
  • subtickNumberFormat=iy - Format for numbers in command responses
  • subtickPhaseFormat=it - Format for phases in command responses
  • subtickDimensionFormat=im - Format for dimensions in command responses
  • subtickErrorFormat=ir - Format for errors in command responses
Project members
Space Walker

Space Walker

Developer

lntricate1

lntricate1

Developer

Created: 10 May 2023

ID: 6618