-
-
Notifications
You must be signed in to change notification settings - Fork 373
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
Adds support for modifying the tick rate #6592
base: dev/feature
Are you sure you want to change the base?
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.
This also needs tests for the parts that can be tested. (probably can't test stepping, maybe with junit)
src/main/java/ch/njol/skript/conditions/CondServerTickState.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/conditions/CondServerTickState.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/conditions/CondServerTickState.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/expressions/ExprFrozenTicksToRun.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/expressions/ExprFrozenTicksToRun.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/conditions/CondServerTickState.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/conditions/CondServerTickState.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/conditions/CondServerTickState.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/conditions/CondServerTickState.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/expressions/ExprFrozenTicksToRun.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/expressions/ExprServerTickRate.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/expressions/ExprServerTickRate.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/expressions/ExprServerTickRate.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/conditions/CondServerTickState.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/conditions/CondServerTickState.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/conditions/CondServerTickState.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/conditions/CondServerTickState.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/expressions/ExprFrozenTicksToRun.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/expressions/ExprFrozenTicksToRun.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/expressions/ExprFrozenTicksToRun.java
Outdated
Show resolved
Hide resolved
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 think this is a great candidate to be a Module (something like org.skriptlang.skript.bukkit.ticking
). I'm happy to walk you through it.
Test failures will need to be addressed (it appears to be caused by the delays/wait effect is all). Re-request for approval 🙂
src/main/java/ch/njol/skript/conditions/CondServerTickState.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/expressions/ExprFrozenTicksToRun.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/expressions/ExprServerTickRate.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Patrick Miller <[email protected]>
Co-authored-by: Patrick Miller <[email protected]>
Description
This PR aims to add support for the tick rate to be changed, modified, etc, etc
Currently unfinished.
Plans to add a lot more to this.
Target Minecraft Versions: 1.20.3+
Requirements: none
Related Issues: none