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

[🐞]: Moonlight soft_fluid /moonlight:water - Failed to load Datapacks (Fabric 1.21.1 on 0.16.9) #277

Open
2 tasks done
suerion opened this issue Nov 19, 2024 · 11 comments
Labels
1.21 Minecraft Version bug Something isn't working FABRIC Minecraft Loader server Server-related, Not client-related

Comments

@suerion
Copy link

suerion commented Nov 19, 2024

BEFORE CONTINUING:

  • Always check you are using the latest version of these mods and its dependencies
  • Remove known problematic rendering mods such as Optifine, Sodium and others

Version-Loader

1.21.1-FABRIC (Issue dropdown is missing)

Moonlight Lib Version

moonlight-1.21-2.17.5-fabric.jar and supplementaries-1.21-3.0.22-beta-fabric.jar

Issue Detail

Only starting the server and failed to load datapack

Log Attachment

Latest Log
https://mclo.gs/clvnBlF

[12:28:01 WARN] [main]: [Main] Failed to load datapacks, can't proceed with server load. You can either fix your datapacks or reset to vanilla with --safeMode
java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Failed to get element ResourceKey[moonlight:soft_fluid / moonlight:water]
        at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396) ~[?:?]
        at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073) ~[?:?]
        at knot/net.minecraft.server.Main.main(Main.java:229) [server-intermediary.jar:?]
        at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480) [fabric-loader-0.16.9.jar:?]
        at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.16.9.jar:?]
        at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) [fabric-loader-0.16.9.jar:?]
        at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) [fabric-loader-0.16.9.jar:?]
        at net.fabricmc.installer.ServerLauncher.main(ServerLauncher.java:69) [fabric-server-mc.1.21.1-loader.0.16.9-launcher.1.0.1.jar:1.0.1]
Caused by: java.lang.IllegalStateException: Failed to get element ResourceKey[moonlight:soft_fluid / moonlight:water]
        at knot/com.mojang.serialization.DataResult$Error.md548a18$owo$lambda$addStackTraceToException$0$0(DataResult.java:565) ~[datafixerupper-8.0.16.jar:?]
        at knot/com.mojang.serialization.DataResult$Error.getOrThrow(DataResult.java:287) ~[datafixerupper-8.0.16.jar:?]        at knot/com.mojang.serialization.DataResult.getOrThrow(DataResult.java:81) ~[datafixerupper-8.0.16.jar:?]
        at knot/net.mehvahdjukaar.supplementaries.common.misc.mob_container.CapturedMobHandler.lambda$apply$0(CapturedMobHandler.java:63) ~[supplementaries-1.21-3.0.22-beta-fabric.jar:?]
        at java.base/java.util.HashMap.forEach(HashMap.java:1429) ~[?:?]
        at knot/net.mehvahdjukaar.supplementaries.common.misc.mob_container.CapturedMobHandler.apply(CapturedMobHandler.java:62) ~[supplementaries-1.21-3.0.22-beta-fabric.jar:?]
        at knot/net.mehvahdjukaar.supplementaries.common.misc.mob_container.CapturedMobHandler.apply(CapturedMobHandler.java:30) ~[supplementaries-1.21-3.0.22-beta-fabric.jar:?]
        at knot/net.minecraft.server.packs.resources.SimplePreparableReloadListener.lambda$reload$1(SimplePreparableReloadListener.java:13) ~[?:?]
        at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:718) ~[?:?]
        at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
        at knot/net.minecraft.server.packs.resources.SimpleReloadInstance.lambda$new$3(SimpleReloadInstance.java:69) ~[?:?]
        at knot/net.minecraft.Util.blockUntilDone(Util.java:1024) ~[?:?]
        at knot/net.minecraft.Util.blockUntilDone(Util.java:1012) ~[?:?]
        at knot/net.minecraft.server.Main.main(Main.java:182) ~[server-intermediary.jar:?]

OPTIONAL: To Produce

No response

OPTIONAL: Which mods are affected?

No response

@suerion suerion added the bug Something isn't working label Nov 19, 2024
@github-actions github-actions bot added 1.21 Minecraft Version FABRIC Minecraft Loader NEOFORGE Minecraft Loader server Server-related, Not client-related labels Nov 19, 2024
@MehVahdJukaar
Copy link
Owner

Does this happen on a server? Does this happen when the mod is used alone?

@suerion
Copy link
Author

suerion commented Nov 19, 2024

Does this happen on a server? Does this happen when the mod is used alone?

Hey, i use a Modpack server it does happen after the last Updates from Supplementary and Moonlight.
Had not tried yet to use it without other mods,

@suerion
Copy link
Author

suerion commented Nov 19, 2024

Had tried to dissable a lot of mods,

cyanide is an Datapack mod to fix datapack issues -> https://modrinth.com/mod/cyanide with this the issue is given

@MehVahdJukaar
Copy link
Owner

So cyanide causes this?

@suerion
Copy link
Author

suerion commented Nov 19, 2024

@MehVahdJukaar yes cyanide has caused this, but i had normaly disabled it

@MehVahdJukaar
Copy link
Owner

Odd because they had an old issue which broke Datapack registries. They did fix that one back then. Maybe it came back

@Xelbayria Xelbayria removed the NEOFORGE Minecraft Loader label Nov 19, 2024
@Zardexd
Copy link

Zardexd commented Nov 24, 2024

I think this might be related. In short, i cant load up any resourcepacks while in game, only from the main menu it works correctly.

Partition of logs

1.21.1 Moonlight Lib [1.21-2.17.5] Fabric
[14:20:25] [Render thread/INFO]: Caught error loading resourcepacks, removing all selected resourcepacks java.util.concurrent.CompletionException: java.lang.IllegalStateException: Missing registry: ResourceKey[minecraft:root / moonlight:soft_fluid] at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) ~[?:?] at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) ~[?:?] at java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:791) ~[?:?] at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?] at knot/net.minecraft.class_4014.method_18365(class_4014.java:69) ~[client-intermediary.jar:?] at knot/net.minecraft.class_1255.method_18859(class_1255.java:162) ~[client-intermediary.jar:?] at knot/net.minecraft.class_4093.method_18859(class_4093.java:23) ~[client-intermediary.jar:?] at knot/net.minecraft.class_1255.method_16075(class_1255.java:136) ~[client-intermediary.jar:?] at knot/net.minecraft.class_1255.method_5383(class_1255.java:121) ~[client-intermediary.jar:?] at knot/net.minecraft.class_310.method_1523(class_310.java:1240) [client-intermediary.jar:?] at knot/net.minecraft.class_310.method_1514(class_310.java:882) [client-intermediary.jar:?] at knot/net.minecraft.client.main.Main.main(Main.java:256) [client-intermediary.jar:?] at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480) [fabric-loader-0.16.9.jar:?] at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.16.9.jar:?] at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.16.9.jar:?] at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:105) [NewLaunch.jar:?] at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129) [NewLaunch.jar:?] at org.prismlauncher.EntryPoint.main(EntryPoint.java:70) [NewLaunch.jar:?] Caused by: java.lang.IllegalStateException: Missing registry: ResourceKey[minecraft:root / moonlight:soft_fluid] at knot/net.minecraft.class_5455.method_30534(class_5455.java:26) ~[client-intermediary.jar:?] at java.base/java.util.Optional.orElseThrow(Optional.java:403) ~[?:?] at knot/net.minecraft.class_5455.method_30530(class_5455.java:26) ~[client-intermediary.jar:?] at knot/net.mehvahdjukaar.moonlight.api.fluids.SoftFluidRegistry.get(SoftFluidRegistry.java:29) ~[moonlight-1.21-2.17.5-fabric.jar:?] at knot/net.mehvahdjukaar.moonlight.api.fluids.SoftFluidColors.refreshParticleColors(SoftFluidColors.java:36) ~[moonlight-1.21-2.17.5-fabric.jar:?] at knot/net.mehvahdjukaar.moonlight.api.fluids.SoftFluidColors.method_14491(SoftFluidColors.java:30) ~[moonlight-1.21-2.17.5-fabric.jar:?] at knot/net.minecraft.class_4013.method_29490(class_4013.java:15) ~[client-intermediary.jar:?] at java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:787) ~[?:?] ... 15 more

List of mods Present

Mods present.

@MehVahdJukaar
Copy link
Owner

try without other mods on and check my mods are updated. these datapack loading erros can be caused by other mods breaking datapack registries which seems something many like to do

@Zardexd
Copy link

Zardexd commented Nov 24, 2024

try without other mods on and check my mods are updated. these datapack loading erros can be caused by other mods breaking datapack registries which seems something many like to do

This is resource packs being loaded, not datapacks, unless you reply to original poster. I will test it later though.

@MehVahdJukaar
Copy link
Owner

all mods have datapacks builtin

@suerion
Copy link
Author

suerion commented Dec 16, 2024

Dont know if the issue is persistent, will test on newest update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.21 Minecraft Version bug Something isn't working FABRIC Minecraft Loader server Server-related, Not client-related
Projects
None yet
Development

No branches or pull requests

4 participants