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

1.18.1 support #58

Merged
merged 3 commits into from
Jan 24, 2023
Merged

1.18.1 support #58

merged 3 commits into from
Jan 24, 2023

Conversation

lewark
Copy link

@lewark lewark commented Dec 13, 2021

Adds support for Minecraft 1.18.1. Initial tests so far have worked as expected. I've been using this patch for a while with several people using a MC 1.18.1 server and Mumble 1.3.4 and so far it has worked fine.

Changes made in this PR:

  • Mod loading events in Forge seem to have been moved exclusively to the specialized mod event bus, so I switched the main MumbleLink mod classes to use this bus.
  • IExtensionPoint code has been updated for the newer Forge API.
  • Minimum Forge version bumped to 39.0.0, and JVM version bumped to 17

Note: In this commit, ExtensionPoints are currently broken due to a FML API change.
@skedgyedgy
Copy link

skedgyedgy commented Jan 11, 2022

-- missing file exception when i try to build it myself?
image

@lewark
Copy link
Author

lewark commented Jan 11, 2022

Odd... I'll give it a look. I didn't bring over the newer Gradle version from my Eclipse build environment so I wonder if that might be the cause.

@lewark
Copy link
Author

lewark commented Jan 11, 2022

@skedgyedgy I ran into the same problem but the issue should be resolved now. I updated the PR's Gradle version and the mod now builds properly from the command line.

@zsawyer zsawyer changed the base branch from QnD-MC_JNA to release/1.18.1 January 24, 2023 17:46
@@ -85,7 +85,7 @@ public void preInit() {
ModLoadingContext context = ModLoadingContext.get();
context.registerExtensionPoint(IExtensionPoint.DisplayTest.class
, () -> new IExtensionPoint.DisplayTest(
() -> FMLNetworkConstants.IGNORESERVERONLY,
() -> "ANY",
Copy link
Owner

Choose a reason for hiding this comment

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

use a constant

@@ -104,7 +104,7 @@ public void preInit() {
ModLoadingContext context = ModLoadingContext.get();
context.registerExtensionPoint(IExtensionPoint.DisplayTest.class
, () -> new IExtensionPoint.DisplayTest(
() -> FMLNetworkConstants.IGNORESERVERONLY,
() -> "ANY",
Copy link
Owner

Choose a reason for hiding this comment

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

use a constant

@zsawyer zsawyer merged commit 8e016e7 into zsawyer:release/1.18.1 Jan 24, 2023
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.

4 participants