Skip to content
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 World Time #321

Merged
merged 10 commits into from
Nov 26, 2024
Merged

Added World Time #321

merged 10 commits into from
Nov 26, 2024

Conversation

OfficialKris
Copy link
Contributor

@OfficialKris OfficialKris commented Nov 20, 2024

Description

Added world time. Does not change global lighting. Added corresponding time command and all subfeatures.

Future work (under different PR):

  • Allow using time enum under time set command

Testing

  • Tested duration of full day
  • Tested changing time
  • Tested adding time
  • Tested all query commands
  • Compared with vanilla time command functionality

Checklist

Things need to be done before this Pull Request can be merged.

  • Code is well-formatted and adheres to project style guidelines: cargo fmt
  • Code does not produce any clippy warnings cargo clippy

@OfficialKris OfficialKris marked this pull request as ready for review November 20, 2024 22:24
@OfficialKris
Copy link
Contributor Author

Anything left for this PR?

@OfficialKris
Copy link
Contributor Author

Should be all set now

@Snowiiii
Copy link
Owner

Snowiiii commented Nov 25, 2024

Could you please follow the Vanilla /time rules. See https://minecraft.wiki/w/Commands/time
There are

  • time add
  • time set
  • time query

Should be not hard to implement

@OfficialKris
Copy link
Contributor Author

Time command should be all set now

@Snowiiii
Copy link
Owner

Overall looks good.
Thanks @OfficialKris

@Snowiiii Snowiiii merged commit 14b56bd into Snowiiii:master Nov 26, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants