Fuzss / diagonalwindows

Now windows are connecting diagonally, too?! This is getting out of hand!
https://www.curseforge.com/minecraft/mc-mods/diagonal-windows
Mozilla Public License 2.0
0 stars 0 forks source link

[Bug]: Diagonal Windows causes incompatibilty between WorldEdit and Hephaestus #6

Open JMackey1 opened 8 months ago

JMackey1 commented 8 months ago

Mod Loader (Required)

Fabric

Minecraft Version (Required)

1.20.1

Mod Version (Required)

8.0.1

Notes (Required)

I've written tickets for the other mods here, which include details:

https://github.com/Alpha-s-Stuff/TinkersConstruct/issues/77 https://github.com/EngineHub/WorldEdit/issues/2414

latest.log (Optional)

No response

Fuzss commented 8 months ago

Is this still an issue in v8.1.0?

JMackey1 commented 8 months ago

The issue is worse with 8.1.0. Now it causes the game to crash. It and Diagonal Fences cause an insane amount of logging (400 MB+).

Fuzss commented 8 months ago

Please provide the crash report.

JMackey1 commented 8 months ago

crash-2023-10-27_16.27.32-client.txt

It mentions PuzzlesLib specifically, and I am having crashes when loading a world even with the Diagonal mods disabled. Going to try rolling back PuzzlesLib and see if that fixes it.

Edit: Let me know if you want the latest log, too. Need to find somewhere to upload it, though, since it's 350 MB.

Fuzss commented 8 months ago

Ah, so your crash is an incompatibility with Star (library for the tinkers port). That should probably be resolved on their end. https://github.com/AlphaMode/Star/issues/2

JMackey1 commented 8 months ago

Thanks, that seems to be the case. With the latest version of PuzzlesLib/Diagonal Windows/Diagonal Fences, but Hephaestus (Tinkers port) disabled, the game loads correctly. Still getting a ton of logs from the Diagonal mods, though (Edit: to the point it's lagging out Prism launcher).

Fuzss commented 8 months ago

Can you just post a line as an example? And can you see textures for the diagonal blocks in-game?

JMackey1 commented 8 months ago

Tons of messages that look like this:

[16:41:35] [Worker-ResourceReload-11/ERROR]: Failed to modify unbaked model before bake java.lang.IllegalArgumentException: invalid model for diagonal block: diagonalfences:betterend/tenanea_fence#east=false,north=false,north_east=false,north_west=true,south=false,south_east=true,south_west=false,waterlogged=false,west=false at fuzs.diagonalblocks.api.v2.client.MultiPartTranslator.makeMultiPart(MultiPartTranslator.java:80) ~[diagonalblocks-8.0.0-500a37c7bb998e2b.jar:?] at fuzs.diagonalblocks.api.v2.client.MultiPartTranslator.getModelFromBase(MultiPartTranslator.java:73) ~[diagonalblocks-8.0.0-500a37c7bb998e2b.jar:?] at fuzs.diagonalblocks.api.v2.client.MultiPartTranslator.apply(MultiPartTranslator.java:69) ~[diagonalblocks-8.0.0-500a37c7bb998e2b.jar:?] at fuzs.diagonalblocks.client.handler.DiagonalModelHandler.onModifyUnbakedModel(DiagonalModelHandler.java:40) ~[diagonalblocks-8.0.0-500a37c7bb998e2b.jar:?] at fuzs.puzzleslib.impl.client.event.FabricClientEventInvokers.lambda$register$71(FabricClientEventInvokers.java:370) ~[PuzzlesLib-v8.1.2-1.20.1-Fabric.jar:?] at net.fabricmc.fabric.impl.client.model.loading.ModelLoaderPluginContextImpl.lambda$new$4(ModelLoaderPluginContextImpl.java:86) ~[fabric-model-loading-api-v1-1.0.+709a987177-148c05fd9fd2fb0f.jar:?] at net.fabricmc.fabric.impl.client.model.loading.ModelLoadingEventDispatcher.modifyModelBeforeBake(ModelLoadingEventDispatcher.java:276) ~[fabric-model-loading-api-v1-1.0.+709a987177-148c05fd9fd2fb0f.jar:?] at net.minecraft.class_1088$class_7778.localvar$dlf000$fabric-model-loading-api-v1$invokeModifyBeforeBake(class_1088.java:553) ~[client-intermediary.jar:?] at net.minecraft.class_1088$class_7778.method_45873(class_1088.java:419) ~[client-intermediary.jar:?] at net.minecraft.class_1088.method_45877(class_1088.java:188) ~[client-intermediary.jar:?] at java.util.HashMap$KeySet.forEach(HashMap.java:1008) ~[?:?] at net.minecraft.class_1088.method_45876(class_1088.java:185) ~[client-intermediary.jar:?] at net.minecraft.class_1092.method_45883(class_1092.java:145) ~[client-intermediary.jar:?] at net.minecraft.class_1092.method_45885(class_1092.java:92) ~[client-intermediary.jar:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646) ~[?:?] at java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:483) ~[?:?] at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?] at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?] at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?] at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?] at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?]

What is the mod tag for these? I don't get any results for @diagonal in REI

Fuzss commented 8 months ago

They don't work like that. Just place vanilla fences/walls/glass panes.

JMackey1 commented 8 months ago

Untitled

Black and purple blocks are oak fences, the glass are glass blocks, glass panes have the same model as the fences.

Fuzss commented 8 months ago

Ok, thanks for helping out!

Now that's a mod conflict. Would be great if you could start removing other mods until it starts working. Doesn't seem to be another way to find the root of this unfortunately.

Fuzss commented 8 months ago

The binary search is a way of finding a faulty thing among a lot of other things, without having to remove the things one-by-one.

This is useful for finding a broken mod among hundreds of mods, without having to spend time testing the mods one-by-one.

The procedure is simple: Remove half of the existing things, and put them aside. Run the program / game. Does the issue still exist? If YES: Repeat from step 1 with the current things. IF NO: Swap out the current things with the ones set aside, and repeat from step 1. Repeat this process until the problematic thing/s have been found.

JMackey1 commented 8 months ago

Untitled

This is a brand new world, nothing but Diagonal mods and dependencies enabled. I even disabled shaders and all data packs. These are glass panes, still have the heavy logging issue and no texture.

JMackey1 commented 8 months ago

Untitled1

Downgraded to 8.0.1 and they work correctly, and the log issues are also resolved.

Fuzss commented 8 months ago

Fixed in latest version. Still would appreciate feedback on Hephasestus once Star is compatible with Puzzles Lib.

AlphaMode commented 4 months ago

Issue with star should be fixed, sorry about taking so long.