Merged
Conversation
Member
Author
|
Ready for review now, all features are in and tested |
Toffikk
approved these changes
Apr 5, 2026
Member
Author
|
Now that I think abt it, redstone tick time should pause in the region if the region is paused. Ill work on that in the morning probably |
Member
Author
# Conflicts: # canvas-server/minecraft-patches/base/0007-Improve-Region-Scheduler.patch
R00tB33rMan
reviewed
Apr 7, 2026
R00tB33rMan
approved these changes
Apr 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Canvas previously added back the
tickcommand, allowing server-wide modifiable tick rate, sprinting, freezing, etc. This patch was incomplete, because "stepping" was never implemented, and this way was always kinda janky and messy, and a bit all over the place.This new implementation provides a replacement set of logic for the
tickcommand, offering the ability to change the server-wide tick rate, and allowing to toggle schedule-handle-specific features like:These features allow server admins to modify region-independent tick states, without effecting the rest of the server. There ofc is the option to enable effecting the whole server, since the new command accepts a few arguments:
global- Global tick threadserver- Every single schedule handle<block X coord> <block Z coord>- To select a specific region. This region must be loaded though, and this is only available to players.This is a much more clean and efficient way to modify and track the independent tick states of regions and the global tick, which can be very useful for debugging, even in production.