Tinkers Construct

Tinkers Construct

170M Downloads

Game crash when swapping part on tinker station

Jamesdsj opened this issue · 10 comments

commented

Minecraft Version

1.20.1

Modloader

Forge

Modloader Version

47.2.2

Mantle Version

1.11.63

Tinkers' Construct Version

3.10.1.76

Describe your issue

When putting a tool and a part on tinker station, trying to swap a part, for example swapping a broad blade on a cleaver, the game will crash.

Here is part of the log:

[216月2025 19:57:35.081] [Render thread/ERROR] [net.minecraft.client.Minecraft/FATAL]: Reported exception thrown!
net.minecraft.ReportedException: Rendering screen
at net.minecraft.client.renderer.GameRenderer.m_109093_(GameRenderer.java:982) ~[client-1.20.1-20230612.114412-srg.jar%23180!/:?]
at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1146) ~[client-1.20.1-20230612.114412-srg.jar%23180!/:?]
at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:718) ~[client-1.20.1-20230612.114412-srg.jar%23180!/:?]
at net.minecraft.client.main.Main.main(Main.java:218) ~[1.20.1Test.jar:?]
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.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:126) ~[loader-47.2.2.jar:47.2]
at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.clientService(CommonLaunchHandler.java:114) ~[loader-47.2.2.jar:47.2]
at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.runService(CommonClientLaunchHandler.java:24) ~[loader-47.2.2.jar:47.2]
at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.lambda$launchService$4(CommonLaunchHandler.java:108) ~[loader-47.2.2.jar:47.2]
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) ~[modlauncher-10.0.9.jar:?]
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) ~[modlauncher-10.0.9.jar:?]
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) ~[modlauncher-10.0.9.jar:?]
at cpw.mods.modlauncher.Launcher.run(Launcher.java:108) ~[modlauncher-10.0.9.jar:?]
at cpw.mods.modlauncher.Launcher.main(Launcher.java:78) ~[modlauncher-10.0.9.jar:?]
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) ~[modlauncher-10.0.9.jar:?]
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) ~[modlauncher-10.0.9.jar:?]
at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) ~[bootstraplauncher-1.1.2.jar:?]
Caused by: java.lang.NoSuchMethodError: 'slimeknights.tconstruct.library.recipe.RecipeResult slimeknights.tconstruct.library.recipe.tinkerstation.ITinkerStationRecipe.success(slimeknights.tconstruct.library.tools.nbt.ToolStack, slimeknights.tconstruct.library.recipe.tinkerstation.ITinkerStationContainer)'
at slimeknights.tconstruct.tables.recipe.TinkerStationPartSwapping.handler$zcb000$getNewResult(TinkerStationPartSwapping.java:1070) ~[TConstruct-1.20.1-3.10.1.76.jar%23174!/:1.20.1-3.10.1.76]
at slimeknights.tconstruct.tables.recipe.TinkerStationPartSwapping.getValidatedResult(TinkerStationPartSwapping.java:171) ~[TConstruct-1.20.1-3.10.1.76.jar%23174!/:1.20.1-3.10.1.76]
at slimeknights.tconstruct.tables.block.entity.table.TinkerStationBlockEntity.calcResult(TinkerStationBlockEntity.java:176) ~[TConstruct-1.20.1-3.10.1.76.jar%23174!/:1.20.1-3.10.1.76]
at slimeknights.tconstruct.tables.block.entity.inventory.LazyResultContainer.getResult(LazyResultContainer.java:40) ~[TConstruct-1.20.1-3.10.1.76.jar%23174!/:1.20.1-3.10.1.76]
at slimeknights.tconstruct.tables.block.entity.inventory.LazyResultContainer.getResult(LazyResultContainer.java:28) ~[TConstruct-1.20.1-3.10.1.76.jar%23174!/:1.20.1-3.10.1.76]
at slimeknights.tconstruct.tables.block.entity.inventory.LazyResultContainer.m_8020_(LazyResultContainer.java:49) ~[TConstruct-1.20.1-3.10.1.76.jar%23174!/:1.20.1-3.10.1.76]
at net.minecraft.world.inventory.Slot.m_7993_(Slot.java:51) ~[client-1.20.1-20230612.114412-srg.jar%23180!/:?]
at net.minecraft.client.gui.screens.inventory.AbstractContainerScreen.m_280092_(AbstractContainerScreen.java:191) ~[client-1.20.1-20230612.114412-srg.jar%23180!/:?]
at slimeknights.mantle.client.screen.MultiModuleScreen.m_280092_(MultiModuleScreen.java:214) ~[Mantle-1.20.1-1.11.63.jar%23171!/:1.20.1-1.11.63]
at slimeknights.tconstruct.tables.client.inventory.TinkerStationScreen.m_280092_(TinkerStationScreen.java:530) ~[TConstruct-1.20.1-3.10.1.76.jar%23174!/:1.20.1-3.10.1.76]
at net.minecraft.client.gui.screens.inventory.AbstractContainerScreen.m_88315_(AbstractContainerScreen.java:103) ~[client-1.20.1-20230612.114412-srg.jar%23180!/:?]
at slimeknights.mantle.client.screen.MultiModuleScreen.m_88315_(MultiModuleScreen.java:154) ~[Mantle-1.20.1-1.11.63.jar%23171!/:1.20.1-1.11.63]
at net.minecraft.client.gui.screens.Screen.m_280264_(Screen.java:109) ~[client-1.20.1-20230612.114412-srg.jar%23180!/:?]
at net.minecraftforge.client.ForgeHooksClient.drawScreenInternal(ForgeHooksClient.java:424) ~[forge-1.20.1-47.1.106-universal.jar%23185!/:?]
at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:417) ~[forge-1.20.1-47.1.106-universal.jar%23185!/:?]
at net.minecraft.client.renderer.GameRenderer.m_109093_(GameRenderer.java:969) ~[client-1.20.1-20230612.114412-srg.jar%23180!/:?]
... 19 more

Steps to reproduce

put any tool on the tinker station and a relative tool part.

Crash Report

No response

Can you reproduce with just Tinkers?

Yes

Performance Enchancers

None of the above

Other mods

No response

Searched for known issues?

Searched open issues

commented

Unable to reproduce with given instructions and versions. Please give us your full log or actually try with just tinkers construct. As it works fine.

commented

just a second.

commented

sorry for that. I tried only with tinker and the problem was gone. It must be caused by another mod.

commented

Try and find which mod that is, report it to them and link it here.

commented

Some mod is mixing to tinkers:
slimeknights.tconstruct.tables.recipe.TinkerStationPartSwapping.handler$zcb000$getNewResult
I'll see if WAIFU knows who it is.

commented

Looks like waifu doesn't know. @Jamesdsj Can you please send something more than just a single error from the log? (full latest.log file in a pastebin/gisr or full crash report in a pastebin/gist), as figuring out which mod is causung this is very difficult without that essential information.

commented

Never mind, I have figured out that the problem is caused by an addon that used mixin to modify the returned tool.

commented

Which addon?

commented

My own addon, tinkers' calibration, which can be found in my profile.

commented

My own addon, tinkers' calibration, which can be found in my profile.

Please do not write use mixins into my mod. They cause people to report issues with my mod that are a pain to debug as mixins logging is terrible, as you just proved by making this issue.

Remove the mixins into my mod and instead talk on my discord about how to add proper APIs for what you are trying to do, or otherwise the non-mixin way to solve your problem.