
Crash on the latest version
vlad1m opened this issue ยท 2 comments
When trying to break a block modified by additional placements,the game crashes.Here's the log:
Reported exception thrown!
net.minecraft.ReportedException: Tesselating block model
at net.minecraft.client.renderer.block.ModelBlockRenderer.tesselateBlock(ModelBlockRenderer.java:64) ~[client-1.20.1-20230612.114412-srg.jar%23552!/:?]
at net.minecraft.client.renderer.block.BlockRenderDispatcher.redirect$zho000$injectStateToModelLocation(BlockRenderDispatcher.java:547) ~[client-1.20.1-20230612.114412-srg.jar%23552!/:?]
at net.minecraft.client.renderer.block.BlockRenderDispatcher.renderBreakingTexture(BlockRenderDispatcher.java:56) ~[client-1.20.1-20230612.114412-srg.jar%23552!/:?]
at net.minecraft.client.renderer.LevelRenderer.m_109599_(LevelRenderer.java:1316) ~[client-1.20.1-20230612.114412-srg.jar%23552!/:?]
at net.minecraft.client.renderer.GameRenderer.m_109089_(GameRenderer.java:1126) ~[client-1.20.1-20230612.114412-srg.jar%23552!/:?]
at net.minecraft.client.renderer.GameRenderer.m_109093_(GameRenderer.java:909) ~[client-1.20.1-20230612.114412-srg.jar%23552!/:?]
at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1146) ~[client-1.20.1-20230612.114412-srg.jar%23552!/:?]
at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:718) ~[client-1.20.1-20230612.114412-srg.jar%23552!/:?]
at net.minecraft.client.main.Main.main(Main.java:218) ~[client-1.20.1.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:111) ~[fmlloader-1.20.1-47.3.11.jar:?]
at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.clientService(CommonLaunchHandler.java:99) ~[fmlloader-1.20.1-47.3.11.jar:?]
at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$makeService$0(CommonClientLaunchHandler.java:25) ~[fmlloader-1.20.1-47.3.11.jar:?]
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.NullPointerException: Cannot invoke "net.minecraft.client.renderer.RenderType.m_110508_()" because "renderType" is null
at com.firemerald.additionalplacements.client.BlockModelUtils.rotatedQuads(BlockModelUtils.java:220) ~[AdditionalPlacements-1.20-2.0.0.jar%23354!/:2.0.0]
at com.firemerald.additionalplacements.client.BlockModelUtils.rotatedQuads(BlockModelUtils.java:243) ~[AdditionalPlacements-1.20-2.0.0.jar%23354!/:2.0.0]
at com.firemerald.additionalplacements.client.models.BakedRotatedBlockModel.getQuads(BakedRotatedBlockModel.java:46) ~[AdditionalPlacements-1.20-2.0.0.jar%23354!/:2.0.0]
at net.minecraft.client.renderer.block.ModelBlockRenderer.tesselateWithAO(ModelBlockRenderer.java:80) ~[client-1.20.1-20230612.114412-srg.jar%23552!/:?]
at net.minecraftforge.client.model.lighting.ForgeModelBlockRenderer.tesselateWithAO(ForgeModelBlockRenderer.java:65) ~[forge-1.20.1-47.3.11-universal.jar%23557!/:?]
at net.minecraft.client.renderer.block.ModelBlockRenderer.tesselateBlock(ModelBlockRenderer.java:54) ~[client-1.20.1-20230612.114412-srg.jar%23552!/:?]