Skip to content

Conversation

@Strokkur424
Copy link
Owner

Original PR: #33.

Apparently, GitHub doesn't like it when you rename branches.

Anyways, I've decided to postpone modded support until later. Modded still needs to mature a bit and with the recent changes Fabric's been going through regarding the removal of obfuscations I believe it makes sense to wait a while.

@Strokkur424 Strokkur424 added this to the 2.0 milestone Jan 1, 2026
@Strokkur424 Strokkur424 added feature New feature or request platform A new supported platform publish snapshot This PR will automatically publish snapshots labels Jan 1, 2026
@Strokkur424 Strokkur424 self-assigned this Jan 1, 2026
This was linked to issues Jan 5, 2026
A lot happened here, but the biggest change by far is the separation away from the horrible compiler API, which was causing me problems and headaches
and abstracting it away into my own (rather big) abstraction, providing everything that I need. This has a few advantages, including (but not limited to):
1. I can finally start writing up units tests, as thanks to the abstraction, I can mock these types now.
2. I can get rid of the horrendously complex Utils class which was hiding away all of the 'ugly' logic.
3. This has furthermore allowed me to pass around the ProcessingEnvironment everywhere I need to mess with Elements/Types (which was basically everwhere), since it lives in the SourceX implementation files now.

The processor-X and anotations-X modules compile now. I haven't tested whether this has borked the annotation processor as a whole yet, and also the Gradle setup might be a bit cursed atm. This commit simply marks the initial separation.
This means that the processor now behave exactly the same on both 1.5.0 and 2.0.0-SNAPSHOT.
This commit also goes ahead and bumps the version.
@Strokkur424 Strokkur424 deployed to publish-snapshot January 5, 2026 21:35 — with GitHub Actions Active
@Strokkur424 Strokkur424 merged commit 67f5bf9 into main Jan 5, 2026
2 checks passed
@Strokkur424 Strokkur424 deleted the platform/velocity branch January 5, 2026 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request platform A new supported platform publish snapshot This PR will automatically publish snapshots

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Platform: Velocity Custom annotations for command requirements

3 participants