Skip to content

feat: Fix IRL lunar phases and add 26.2 support#18

Merged
Wyvest merged 6 commits into
Polyfrost:twoconfigfrom
saadndm:twoconfig-update
Jul 1, 2026
Merged

feat: Fix IRL lunar phases and add 26.2 support#18
Wyvest merged 6 commits into
Polyfrost:twoconfigfrom
saadndm:twoconfig-update

Conversation

@saadndm

@saadndm saadndm commented Jul 1, 2026

Copy link
Copy Markdown

This is my first time porting a OneConfig mod, I updated the version from 1.1.1-beta.1 to 1.1.2-beta.1, I'm not sure if this is correct.

Description

  • Fixed IRL lunar phase toggle not being used
  • Lunar phase calculation is not affected by location, so separated its initialization from IRL time
    • Fixes a problem where lunar phase was never initialized if IRL time wasn't also enabled
    • If only lunar phase is enabled, no API call to fetch location is made
  • Changed IRL time to fallback to 12f (noon) instead of 0f
  • Fixed lunar phase mixin handling for 1.21.11+
  • Fixed overridden time resetting the world day count by preserving \original day offset
  • Port to 26.2
  • Update oneconfig to 1.0.0-beta.5
  • Bump version to 1.1.2-beta.1

Related Issue(s)

Fixes #

How to test

Tested IRL lunar phase and IRL time manually on 1.21.1, 1.21.11, 26.1, 26.2, everything is working.

Release Notes

Added support for 26.2
Fixed IRL lunar phases not working

Documentation

@Wyvest Wyvest left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be 1.1.1-beta.2

@saadndm saadndm force-pushed the twoconfig-update branch from 7c47bbf to c478382 Compare July 1, 2026 13:56
@saadndm saadndm requested a review from Wyvest July 1, 2026 13:57
@Wyvest Wyvest merged commit 3dd6e98 into Polyfrost:twoconfig Jul 1, 2026
@saadndm saadndm deleted the twoconfig-update branch July 1, 2026 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants