CleanroomMC / Cleanroom

Cleanroom Minecraft.
GNU Lesser General Public License v2.1
200 stars 40 forks source link

A series of errors triggered by achievement rewards #143

Closed VillagerGold closed 3 months ago

VillagerGold commented 3 months ago

Your CleanroomMC Discord Username

村民黄金

Cleanroom Version

0.2.1-alpha

Java Version

Java 21

Graphics Card Vendor

NVidia

Bug Report

minecraft-exported-crash-info-2024-05-12T19-16-47.zip No need to provide a module. Under the same module, the Forge loader can enter the map and eat the Ender cake to enter the destination normally. However, the Cleanroom loader cannot enter the map and eat the Ender cake to enter the destination normally. The error message is an issue with achievement rewards. I guess it is because the Cleanroom loader is missing some functions of the Forge loader (I provide a mod open source, and merging this open source into the Cleanroom loader may solve the problem) https://github.com/Technici4n/advancements-debug

Mod List

nothing(I cannot determine the minimum reproduction combination)

MMC Instance Notes

nothing

Final Checklist

ZZZank commented 3 months ago

please remove Lucky Block and try again

[19:16:40] [Client thread/INFO]: [java.lang.Throwable:printStackTrace:651]:     at mod.lucky.world.LuckyTickHandler.onClientTick(LuckyTickHandler.java:44)
[19:16:40] [Client thread/INFO]: [java.lang.Throwable:printStackTrace:651]:     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_2163_LuckyTickHandler_onClientTick_ClientTickEvent.invoke(.dynamic)
kappa-maintainer commented 3 months ago

We are forked from Forge and didn't touch this part of code, so the behavior of the two loaders is identical.

VillagerGold commented 3 months ago

Deleting Lucky Block is useless. I hope to check the code in Cleanroom because the Forge loader will not encounter this issue under the same mod (of course, Forge has Mixinboot, while Cleanroom has fugue, scalar, and stellarcore)

kappa-maintainer commented 3 months ago

We didn't touch anything about advancement, it's just not related

ZZZank commented 3 months ago

you seem to be using Phosphor/Hesperus together with Optifine, both of which are not recommended, so please remove them amd try again. Also, there's nothing fatal about advancement, those errors are caused by modpack devs removing recipes, and are not likely to be the problem.

VillagerGold commented 3 months ago

those errors are caused by modpack devs removing recipes,how can we fix this issue

ZZZank commented 3 months ago

modpack devs should explicitly set recipe id to match the one requested by advancement.

e.g. advancement minecraft:recipes/decorations/torch requested a recipe with id minecraft:torch, then there should be a recipe with its recipe id set to minecraft:torch. Assuming that they remove the original, then add a new recipe, then recipe id of the new one should be minecraft:torch

Again, advancement barely causes crash, and even less likely to be Cleanroom exclusive.

VillagerGold commented 3 months ago

But I won't experience this kind of crash under the Forge loader, I hope it can be fixed

kappa-maintainer commented 3 months ago

No bisect no fix We won't waste time debugging in a pack like this

Ecdcaeb commented 3 months ago

Dont pack logs to zip!

Ecdcaeb commented 3 months ago

Deleting Lucky Block is useless. I hope to check the code in Cleanroom because the Forge loader will not encounter this issue under the same mod (of course, Forge has Mixinboot, while Cleanroom has fugue, scalar, and stellarcore)

upload your new log when you changed your environment.