ThinkingStudios / RyoamicLights

LambDynamicLights unofficial architectury port. A dynamic lights mod for Minecraft.
MIT License
19 stars 2 forks source link

Update to 1.21 #29

Closed CommandGenius closed 5 months ago

CommandGenius commented 5 months ago

This is still a WIP, there are crashes when modifying settings.

TexBlock commented 5 months ago

Thank you port to 1.21. I'll wait until ObsidianUI is completely done with the 1.21 port (SOON) to port the RDL, and this PR will still be kept.

clmc99 commented 5 months ago

I get the following error when I try to gradlew build:

> Task :fabric:compileJava
C:\Users\clmcm\AppData\Roaming\.minecraft\mods\compiling\RyoamicLights\fabric\src\main\java\org\thinkingstudio\ryoamiclights\fabric\mixin\VideoOptionsScreenMixin.java:28: error: VideoOptionsScreenMixin is not abstract and does not override abstract method addOptions() in GameOptionsScreen
public class VideoOptionsScreenMixin extends GameOptionsScreen {
       ^
Note: C:\Users\clmcm\AppData\Roaming\.minecraft\mods\compiling\RyoamicLights\fabric\src\main\java\org\thinkingstudio\ryoamiclights\fabric\RyoamicLightsFabric.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error

> Task :fabric:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':fabric:compileJava'.
> Compilation failed; see the compiler error output for details.
CommandGenius commented 5 months ago

I get the following error when I try to gradlew build:

> Task :fabric:compileJava
C:\Users\clmcm\AppData\Roaming\.minecraft\mods\compiling\RyoamicLights\fabric\src\main\java\org\thinkingstudio\ryoamiclights\fabric\mixin\VideoOptionsScreenMixin.java:28: error: VideoOptionsScreenMixin is not abstract and does not override abstract method addOptions() in GameOptionsScreen
public class VideoOptionsScreenMixin extends GameOptionsScreen {
       ^
Note: C:\Users\clmcm\AppData\Roaming\.minecraft\mods\compiling\RyoamicLights\fabric\src\main\java\org\thinkingstudio\ryoamiclights\fabric\RyoamicLightsFabric.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error

> Task :fabric:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':fabric:compileJava'.
> Compilation failed; see the compiler error output for details.

try rebuilding now

CommandGenius commented 5 months ago

Also, it looks like the crashing is gone.

Giovix16 commented 5 months ago

How can I download it?

CommandGenius commented 5 months ago

How can I download it?

build it

TexBlock commented 5 months ago

@CommandGenius i released ObsidianUI 1.21 alpha version. please use modrinth maven replace mavenLocal

CommandGenius commented 5 months ago

@CommandGenius i released ObsidianUI 1.21 alpha version

i know, i updated it to stop using mavenLocal.

also here's a prebuilt version for early adopters

TexBlock commented 5 months ago

Merged in 1.21.x-architectury