Tickrate API Mod 1.19.2–1.21.1
MODTickrate API is a library mod designed to manipulate the in-game tickrate. Its primary purpose is to allow for modifications to how frequently game entities and dimensions are updated. The mod provides a TickrateUtil class, which includes methods such as setBaseTickrate, for permanently changing an entity's tickrate with a single call, and setTickrate, for temporary tickrate changes that require being called every tick. Entities are assigned a tickrate based on the highest priority, with a default priority of 1000.
Tickrate API is a library mod designed to manipulate the in-game tickrate. Its primary purpose is to allow for modifications to how frequently game entities and dimensions are updated. The mod provides a TickrateUtil class, which includes methods such as setBaseTickrate, for permanently changing an entity's tickrate with a single call, and setTickrate, for temporary tickrate changes that require being called every tick. Entities are assigned a tickrate based on the highest priority, with a default priority of 1000.
The mod also introduces an EntityTickEvent, which fires for all entities, including players, regardless of their tickrate; if an entity's tickrate is 0, this event fires with a 20 tickrate. TickrateTimer instances can be created using TickrateTimer#createDefault or TickrateTimer#createWithTickrate. Non-developers can use in-game commands to modify tickrates for entities, dimensions, or specific areas, with F3 + B showing existing tickrate areas. An area can be removed by setting its tickrate to -1 with the same coordinates.
