-
-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added missing performance tweaks #633
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check that you dont exceed the 120 chars per line.
Realtime | ||
======== | ||
|
||
Enabling this will not actually improve performance, but instead will improve your experience a lot when tick rate is low. A limited set of entities, tile entities and world time will use real time instead of ticks to update. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add newlines to avoid overly long lines in the editor. 120chars max.
realtime=false | ||
} | ||
One example of this is baby animals. Normally, they take 20 minutes to grow into an adult. However, if the server is lagging, each animal will receive fewer ticks thus increasing the time they take to grow up. This setting updates some of their logic to use the actual elapsed wall-clock time, rather than number of ticks. It will also apply to block breaking, so no more "breaking blocks multiple times". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add newlines to avoid overly long lines in the editor. 120chars max.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ done
28b8274
to
5fe9f23
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I cant do an in depth check for now, but it looks good to me.
Realtime | ||
======== | ||
|
||
Enabling this will not actually improve performance, but instead will improve your experience a lot when tick rate is |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should start with what it does, and leave what it does not do to the end.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅
5fe9f23
to
524e135
Compare
@Inscrutable All concerns addressed? |
Added missing tweaks, changed indentation for all code blocks to be the same, and updated the code blocks (copied from a fresh 1.11.2 global.conf).
Not quite happy with the realtime explanation myself, feel free add comments to it and I'll update.
Closes #482