Modern Industrialization

Modern Industrialization

4M Downloads

Crush while taking wrench near cock oven

ShadowScaleFTL opened this issue ยท 6 comments

commented

My modpack crushing in such case when i use optifine or sodium+lithium+phosfor. Without any render modes it work good. But it pain to play without them. So what cab be a reason of crushes with optifine or sodium?

commented

Please send the crash log.

commented

Optifine bug, should work fine with indium though.

commented

---- Minecraft Crash Report ----
// This is a token for 1 free hug. Redeem at your nearest Mojangsta: [HUG]

Time: 11/30/21, 9:11 PM
Description: Unexpected error

java.lang.ArrayIndexOutOfBoundsException: Index 4 out of bounds for length 4
at aztech.modern_industrialization.util.RenderHelper.quadWithAlpha(RenderHelper.java:245)
at aztech.modern_industrialization.machines.MachineOverlay.onBlockOutline(MachineOverlay.java:149)
at net.minecraft.class_761.handler$bfm000$onDrawBlockOutline(class_761.java:5345)
at net.minecraft.class_761.method_22712(class_761.java)
at net.minecraft.class_761.method_22710(class_761.java:1991)
at net.minecraft.class_757.method_3188(class_757.java:1536)
at net.minecraft.class_757.method_3192(class_757.java:1154)
at net.minecraft.class_310.method_1523(class_310.java:1112)
at net.minecraft.class_310.method_1514(class_310.java:728)
at net.minecraft.client.main.Main.main(Main.java:217)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:568)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:210)
at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:245)
at org.multimc.EntryPoint.listen(EntryPoint.java:143)
at org.multimc.EntryPoint.main(EntryPoint.java:34)

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head --
Thread: Render thread
Stacktrace:
at aztech.modern_industrialization.util.RenderHelper.quadWithAlpha(RenderHelper.java:245)
at aztech.modern_industrialization.machines.MachineOverlay.onBlockOutline(MachineOverlay.java:149)
at net.minecraft.class_761.handler$bfm000$onDrawBlockOutline(class_761.java:5345)
at net.minecraft.class_761.method_22712(class_761.java)
at net.minecraft.class_761.method_22710(class_761.java:1991)
at net.minecraft.class_757.method_3188(class_757.java:1536)

-- Affected level --
Details:
All players: 1 total; [class_746['ShadowFTL'/72, l='ClientLevel', x=1158.80, y=97.00, z=-161.70]]
Chunk stats: 625, 380
Level dimension: minecraft:overworld
Level spawn location: World: (8,64,8), Section: (at 8,0,8 in 0,4,0; chunk contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 6358 game time, 6358 day time
Server brand: fabric
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.class_638.method_8538(class_638.java:469)
at net.minecraft.class_310.method_1587(class_310.java:2399)
at net.minecraft.class_310.method_1514(class_310.java:752)
at net.minecraft.client.main.Main.main(Main.java:217)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:568)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:210)
at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:245)
at org.multimc.EntryPoint.listen(EntryPoint.java:143)
at org.multimc.EntryPoint.main(EntryPoint.java:34)

forgot to say it happens near all unfinished multiblock machines with wrench in hands.
I think it is problem with render preview blocks of muchines 
commented

---- Minecraft Crash Report ----
// Shall we play a game?

Time: 11/30/21, 9:22 PM
Description: Unexpected error

java.lang.ExceptionInInitializerError
at aztech.modern_industrialization.machines.MachineBlockEntity.fromClientTag(MachineBlockEntity.java:202)
at net.minecraft.class_634.redirect$bdj000$deserializeBlockEntityChunkData(class_634.java:5923)
at net.minecraft.class_634.method_11128(class_634.java:677)
at net.minecraft.class_2672.method_11528(class_2672.java:96)
at net.minecraft.class_2672.method_11054(class_2672.java:22)
at net.minecraft.class_2600.method_11072(class_2600.java:21)
at net.minecraft.class_1255.method_18859(class_1255.java:151)
at net.minecraft.class_4093.method_18859(class_4093.java:23)
at net.minecraft.class_1255.method_16075(class_1255.java:125)
at net.minecraft.class_1255.method_5383(class_1255.java:110)
at net.minecraft.class_310.method_1523(class_310.java:1075)
at net.minecraft.class_310.method_1514(class_310.java:728)
at net.minecraft.client.main.Main.main(Main.java:217)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:568)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:210)
at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:245)
at org.multimc.EntryPoint.listen(EntryPoint.java:143)
at org.multimc.EntryPoint.main(EntryPoint.java:34)
Caused by: java.lang.NullPointerException: Cannot invoke "net.fabricmc.fabric.api.renderer.v1.Renderer.materialFinder()" because "r" is null
at aztech.modern_industrialization.util.RenderHelper.(RenderHelper.java:62)
... 28 more

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head --
Thread: Render thread
Stacktrace:
at aztech.modern_industrialization.machines.MachineBlockEntity.fromClientTag(MachineBlockEntity.java:202)
at net.minecraft.class_634.redirect$bdj000$deserializeBlockEntityChunkData(class_634.java:5923)
at net.minecraft.class_634.method_11128(class_634.java:677)
at net.minecraft.class_2672.method_11528(class_2672.java:96)
at net.minecraft.class_2672.method_11054(class_2672.java:22)
at net.minecraft.class_2600.method_11072(class_2600.java:21)
at net.minecraft.class_1255.method_18859(class_1255.java:151)
at net.minecraft.class_4093.method_18859(class_4093.java:23)
at net.minecraft.class_1255.method_16075(class_1255.java:125)

-- Affected level --
Details:
All players: 1 total; [class_746['ShadowFTL'/65, l='ClientLevel', x=1158.79, y=97.00, z=-161.70]]
Chunk stats: 1024, 2
Level dimension: minecraft:overworld
Level spawn location: World: (8,64,8), Section: (at 8,0,8 in 0,4,0; chunk contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 6383 game time, 6383 day time
Server brand: fabric
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.class_638.method_8538(class_638.java:370)
at net.minecraft.class_310.method_1587(class_310.java:2399)
at net.minecraft.class_310.method_1514(class_310.java:752)
at net.minecraft.client.main.Main.main(Main.java:217)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:568)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:210)
at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:245)
at org.multimc.EntryPoint.listen(EntryPoint.java:143)
at org.multimc.EntryPoint.main(EntryPoint.java:34)

here is crushreport with sodium in same case

commented

Install indium.

commented

ty, seems it now works!