-
Notifications
You must be signed in to change notification settings - Fork 42
26.1 Update #160
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
Merged
Merged
26.1 Update #160
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
c36cf28
26.1 Update
BytelyPlay e4b0859
Modified architectury.common.json to use deobfuscated classes.
BytelyPlay b2af9f8
Removed forgotten comment, and now this project properly uses archive…
BytelyPlay c1d4b1e
ci: update workflows to Java 25
axieum 0ea5914
build: update jar artifacts
axieum 943b699
ci: remove references to `build/devlibs`
axieum 5964d98
Replaced Access Wideners with Accessors.
BytelyPlay b445431
build: remove left over references to access wideners
axieum 275fa0f
fix: force the multiplayer screen to reinitialise when navigated to v…
axieum File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
common/src/main/java/me/axieum/mcmod/authme/mixin/JoinMultiplayerScreenAccessor.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| package me.axieum.mcmod.authme.mixin; | ||
|
|
||
| import org.spongepowered.asm.mixin.Mixin; | ||
| import org.spongepowered.asm.mixin.gen.Accessor; | ||
|
|
||
| import net.minecraft.client.gui.screens.Screen; | ||
| import net.minecraft.client.gui.screens.multiplayer.JoinMultiplayerScreen; | ||
|
|
||
| /** | ||
| * Provides the means to access protected members of the multiplayer screen. | ||
| */ | ||
| @Mixin(JoinMultiplayerScreen.class) | ||
| public interface JoinMultiplayerScreenAccessor | ||
| { | ||
| @Accessor | ||
| Screen getLastScreen(); | ||
| } |
41 changes: 41 additions & 0 deletions
41
common/src/main/java/me/axieum/mcmod/authme/mixin/RealmsClientAccessor.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| package me.axieum.mcmod.authme.mixin; | ||
|
|
||
| import org.spongepowered.asm.mixin.Mixin; | ||
| import org.spongepowered.asm.mixin.gen.Accessor; | ||
| import org.spongepowered.asm.mixin.gen.Invoker; | ||
|
|
||
| import com.mojang.realmsclient.client.RealmsClient; | ||
|
|
||
| import net.minecraft.client.Minecraft; | ||
|
|
||
| /** | ||
| * Provides a means of accessing RealmsClient's internals. | ||
| */ | ||
| @Mixin(RealmsClient.class) | ||
| public interface RealmsClientAccessor | ||
| { | ||
| /** | ||
| * The constructor for the RealmsClient class. | ||
| * | ||
| * @param sessionId The session id. | ||
| * @param username The username of the player. | ||
| * @param minecraft The client Minecraft instance; | ||
| * @return The constructed RealmsClient | ||
| */ | ||
| @Invoker(value = "<init>") | ||
| static RealmsClient init(String sessionId, String username, Minecraft minecraft) | ||
| { | ||
| throw new AssertionError(); | ||
| } | ||
|
|
||
| /** | ||
| * Sets the realmsClientInstance field. | ||
| * | ||
| * @param client The new value of the field. | ||
| */ | ||
| @Accessor(value = "realmsClientInstance") | ||
| static void setRealmsClientInstance(RealmsClient client) | ||
| { | ||
| throw new AssertionError(); | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,5 @@ | ||
| { | ||
| "accessWidener": "authme.accesswidener", | ||
| "injected_interfaces": { | ||
| "net/minecraft/class_310": ["me/axieum/mcmod/authme/mixinHelper/YggdrasilAuthenticationServiceGetter"] | ||
| "net/minecraft/client/Minecraft": ["me/axieum/mcmod/authme/mixinHelper/YggdrasilAuthenticationServiceGetter"] | ||
| } | ||
| } |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.