Skip to content

Update to 1.21 #112

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

Open
wants to merge 3 commits into
base: 1.20
Choose a base branch
from
Open

Update to 1.21 #112

wants to merge 3 commits into from

Conversation

sky-is-winning
Copy link

Updates to MC v1.21 (fix #111)

Also:
Update gradle to v8.8
Update fabric-loom to v1.6.12
Update fabric-api to 0.100.1+1.21
Update Java version to 21

Here's the compiled jar file.

@sky-is-winning
Copy link
Author

sky-is-winning commented Jun 22, 2024

Note: The game still crashes when you select the options menu if Iris is also used.

@sky-is-winning
Copy link
Author

Fix the crashing when Iris is used by disabling FullScreenOptionMixin and FullScreenOptionMixin if Iris is present. Unless #97 is implemented, these do nothing when Sodium is present anyway (and Sodium is required for Iris to work)

@sky-is-winning
Copy link
Author

Here's the new compiled jar.

@uurha
Copy link

uurha commented Jul 12, 2024

Just tested jar mentioned above - it's working) Thanks @sky-is-winning

@he3als
Copy link

he3als commented Jul 30, 2024

Works

@Sovietsupporter69
Copy link

Sovietsupporter69 commented Aug 19, 2024

I'm still getting a crash when opening the options menu, what would you need from me to find the problem? I am using the new jar mentioned 3 posts above and don't have iris so its not that.
image
crash-2024-08-19_18.49.26-client.txt

@sky-is-winning
Copy link
Author

@Sovietsupporter69

I'm still getting a crash when opening the options menu, what would you need from me to find the problem? I am using the new jar mentioned 3 posts above and don't have iris so its not that.

It's probably a different mod (in this case, enhancedblockentities) that also modified the mixin. Due to my bodged update of the mixin class, it leads to incompatibility with many mods which have a similar function of modifying the video options screen. In this case, I reccommend that you instead use Cubes Without Borders which does the same thing as this mod but has a proper update to 1.21 by someone who actually knows what they're doing. Might try and fix this if I get bored though :3

@Sovietsupporter69
Copy link

@sky-is-winning
Thanks for pointing me to a similar mod, wish I knew this other mod existed sooner cause it would've saved me so much time.

@Longie520
Copy link

Works perfectly on 1.21.2 & 3 too! Though needed to ignore the version dependency in fabric-loader-dependencies.json first.

Thanks for this - hope this PR get merged soon

@Longie520 Longie520 mentioned this pull request Oct 31, 2024
@Zhangyide114514
Copy link

@Sovietsupporter69

打开选项菜单时仍然崩溃,您需要我提供什么来查找问题?我正在使用上面提到的 3 个帖子的新 jar,没有虹膜,所以不是那样。

它可能是一个不同的 mod(在本例中为 enhancedblockentities)也修改了 mixin。由于我对 mixin 类的更新失败,它导致与许多具有类似修改视频选项屏幕功能的 mod 不兼容。在这种情况下,我建议你改用 Cubes Without Borders,它的作用与这个 Mod 相同,但由真正知道他们在做什么的人对 1.21 进行了适当的更新。如果我感到无聊,可能会尝试解决这个问题 :3

Hi, I am planning to upgrade another mod running on JAVA17 to 1.21. Is there anything I need to pay attention to? Thanks

@OpsiTTV
Copy link

OpsiTTV commented Jan 20, 2025

Works perfectly on 1.21.2 & 3 too! Though needed to ignore the version dependency in fabric-loader-dependencies.json first.

Thanks for this - hope this PR get merged soon

Playing on 1.21.4. This worked for me, except I think the file was changed?
This is what I did, and there might be a better/easier way to do it. I just don't know and this worked for me.

I took "borderless-mining-1.1.10-dev.4c1df01+1.21.jar"
Extracted it with winrar
Opened fabric.mod.json with Notepad++
Changed "minecraft": "1.21" to "minecraft": "*" (the asterix means "any version" I believe)
Saved the file (CTRL+S)
Compiled all the files and folders into a .zip-file
Then I changed the extension to from .zip to .jar (You need to have extensions enabled in Windows)
The .jar file should have the same name. I tried renaming it to 1.21.4, but it wouldn't work for some unknown reason.

xD

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.

Update to 1.21
8 participants