Create

Create

86M Downloads

[1.19.2] Client crashes when use chisels and bits block in contraption

vgrynch opened this issue ยท 12 comments

commented

Describe the Bug

MC 1.19.2
Forge 43.2.21
Create mod 1.19.2-0.5.1.c, but also crashes in 0.5.1.e
Any time the chiseled block is used as part of the contraption, the client crashes with the exception below. No way to workaround but kill the contraption.

[26Sept2023 10:49:51.469] [Render thread/ERROR] [net.minecraft.client.Minecraft/FATAL]: Unreported exception thrown!
java.lang.NoSuchMethodError: 'void com.jozufozu.flywheel.core.model.BlockModel.<init>(net.minecraft.client.resources.model.BakedModel, net.minecraft.world.level.block.state.BlockState)'
	at mod.chiselsandbits.forge.compat.create.ChiseledBlockInstance.lambda$init$4(ChiseledBlockInstance.java:68) ~[chisels-and-bits-forge-1.3.142.jar%23560!/:1.3.142]
	at com.jozufozu.flywheel.backend.instancing.instancing.InstancedMaterial.lambda$model$0(InstancedMaterial.java:40) ~[flywheel-forge-1.19.2-0.6.9-18.jar%23908!/:0.6.9-18]
	at java.util.HashMap.computeIfAbsent(HashMap.java:1220) ~[?:?]
	at com.jozufozu.flywheel.backend.instancing.instancing.InstancedMaterial.model(InstancedMaterial.java:39) ~[flywheel-forge-1.19.2-0.6.9-18.jar%23908!/:0.6.9-18]
	at mod.chiselsandbits.forge.compat.create.ChiseledBlockInstance.lambda$init$6(ChiseledBlockInstance.java:68) ~[chisels-and-bits-forge-1.3.142.jar%23560!/:1.3.142]
	at java.util.LinkedHashMap.forEach(LinkedHashMap.java:721) ~[?:?]
	at mod.chiselsandbits.forge.compat.create.ChiseledBlockInstance.init(ChiseledBlockInstance.java:60) ~[chisels-and-bits-forge-1.3.142.jar%23560!/:1.3.142]
	at mod.chiselsandbits.forge.compat.create.ChiseledBlockInstance.lambda$new$0(ChiseledBlockInstance.java:42) ~[chisels-and-bits-forge-1.3.142.jar%23560!/:1.3.142]
	at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:157) ~[client-1.19.2-20220805.130853-srg.jar%23853!/:?]
	at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[client-1.19.2-20220805.130853-srg.jar%23853!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:131) ~[client-1.19.2-20220805.130853-srg.jar%23853!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.m_18699_(BlockableEventLoop.java:116) ~[client-1.19.2-20220805.130853-srg.jar%23853!/:?]
	at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1072) ~[client-1.19.2-20220805.130853-srg.jar%23853!/:?]
	at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:700) ~[client-1.19.2-20220805.130853-srg.jar%23853!/:?]
	at net.minecraft.client.main.Main.m_239872_(Main.java:212) ~[client-1.19.2-20220805.130853-srg.jar%23853!/:?]
	at net.minecraft.client.main.Main.main(Main.java:51) ~[client-1.19.2-20220805.130853-srg.jar%23853!/:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
	at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:27) ~[fmlloader-1.19.2-43.2.21.jar%23101!/:?]
	at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.8.jar%2388!/:?]
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.8.jar%2388!/:?]
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.8.jar%2388!/:?]
	at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-10.0.8.jar%2388!/:?]
	at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%2388!/:?]
	at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%2388!/:?]
	at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.8.jar%2388!/:?]
	at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) [bootstraplauncher-1.1.2.jar:?]

Reproduction Steps

  1. Create any contraptions with 1 solid block
  2. Remove some parts of the solid block with Chisels and bits
  3. As soon as the contraption assembles/starts to work or move, client crashes.

Expected Result

At least no crash is happening.

Screenshots and Videos

No response

Crash Report or Log

No response

Operating System

Windows 11

Mod Version

0.5.1e

Minecraft Version

1.19.2

Forge Version

43.2.21

Other Mods

Chisels and bits

Additional Context

No response

commented

1.19 update for this?

commented

please attach the crash report

commented

It's irrelevant, I already described it. I cannot publish it "as is" because this is a newly built modpack. What exactly do you need from the modlist?

commented

I do not think it is needed, but, anyway, here it is: https://pastebin.com/1x5rF00u

commented

Note that crash is reproducible without server (client world), with only create + chisels and bits etc. From what I see, it is simply related to the changes in the flywheel lib. It would be good to return back that flywheel method that is missing now. Other mod devs have a hard time to fix this or just don't want to support 1.19.2

commented

If not possible to fix, would be good to just block the crash somehow and make the block invisible (or whatever you like to do with it).

commented

why is the modlist missing from the crash report?

commented

look you come here for help, but you believe you already know what is relevant or not. information is necessary for a diagnostic. which mods and versions are involved is relevant. i really dont see what the fact that it is a new modpack has to do with it. you removed the modlist from the crash report. if you are reluctant to provide information, then please close this issue. we cannot help you without your cooperation.

commented

I'm java dev and even do custom builds of mods sometimes.
Here is a "Clean" test (Just Create mod and Chisels and Bits): https://pastebin.com/dgbSdJGt

commented

As you can see in above, no lies. Just these 2 mods crash.

commented

Crash report: https://pastebin.com/t3PTthr2

I am experiencing issues with chiselsandbits as well. If a block from it is attached to a contraption it crashes the game.