
Opening crafter screen crashes the game
Crec0 opened this issue ยท 2 comments
Steps to repro:
- have mod installed on a 1.21.4 client
- open crafter screen
- Observe it crashes the game
Crash Log
[21:54:48] [Render thread/ERROR]: Unreported exception thrown!
java.lang.IllegalArgumentException: Cannot get property class_2754{name=type, clazz=class net.minecraft.class_2745, values=[SINGLE, LEFT, RIGHT]} as it does not exist in Block{minecraft:crafter}
at knot/net.minecraft.class_2688.method_11654(class_2688.java:86) ~[client-intermediary.jar:?]
at knot/fi.dy.masa.litematica.data.EntitiesDataStorage.getBlockInventory(EntitiesDataStorage.java:670) ~[litematica-fabric-1.21.4-0.21.2.jar:?]
at knot/fi.dy.masa.litematica.util.InventoryUtils.getTargetInventoryFromBlock(InventoryUtils.java:397) ~[litematica-fabric-1.21.4-0.21.2.jar:?]
at knot/fi.dy.masa.litematica.util.InventoryUtils.getTargetInventory(InventoryUtils.java:347) ~[litematica-fabric-1.21.4-0.21.2.jar:?]
at knot/dev.kikugie.techutils.util.ContainerUtils.validateContainer(ContainerUtils.java:38) ~[techutils-0.5.3+1.21.4.jar:?]
at knot/dev.kikugie.techutils.feature.containerscan.verifier.InventoryOverlay.onContainerClick(InventoryOverlay.java:59) ~[techutils-0.5.3+1.21.4.jar:?]
at knot/net.minecraft.class_636.handler$fii000$techutils$recordContainer(class_636.java:5121) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_636.method_2896(class_636.java:324) ~[client-intermediary.jar:?]
at knot/fi.dy.masa.tweakeroo.tweaks.PlacementTweaks.processRightClickBlockWrapper(PlacementTweaks.java:841) ~[tweakeroo-fabric-1.21.4-0.23.2-sakura.2.jar:?]
at knot/fi.dy.masa.tweakeroo.tweaks.PlacementTweaks.tryPlaceBlock(PlacementTweaks.java:602) ~[tweakeroo-fabric-1.21.4-0.23.2-sakura.2.jar:?]
at knot/fi.dy.masa.tweakeroo.tweaks.PlacementTweaks.onProcessRightClickBlock(PlacementTweaks.java:352) ~[tweakeroo-fabric-1.21.4-0.23.2-sakura.2.jar:?]
at knot/net.minecraft.class_310.redirect$gfi000$tweakeroo$onProcessRightClickBlock(class_310.java:3144) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_310.method_1583(class_310.java:1767) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_310.method_1508(class_310.java:2039) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_310.method_1574(class_310.java:1861) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_310.method_1523(class_310.java:1302) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_310.method_1514(class_310.java:922) [client-intermediary.jar:?]
at knot/net.minecraft.client.main.Main.main(Main.java:267) [client-intermediary.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480) [fabric-loader-0.16.10.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.16.10.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.16.10.jar:?]
at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:100) [NewLaunch.jar:?]
at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129) [NewLaunch.jar:?]
at org.prismlauncher.EntryPoint.main(EntryPoint.java:70) [NewLaunch.jar:?]
Can't reproduce. Judging by the report and the code, that call to State.get()
is only possible if the block entity (the crafter) is an instance of ChestBlockEntity (which it shouldn't be). Are you doing tile entity swap and/or using some extra mod?