Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by ShadowDrakken
, 1 year ago
mekanism.common.EnergyNetwork cannot be cast to mekanism.api.gas.GasNetwork
java.lang.ClassCastException: mekanism.common.EnergyNetwork cannot be cast to mekanism.api.gas.GasNetwork at mekanism.common.multipart.PartPressurizedTube.func_73660_a(PartPressurizedTube.java:69) at mcmultipart.block.TileMultipartContainer$Ticking.func_73660_a(TileMultipartContainer.java:311) at net.minecraft.world.World.func_72939_s(World.java:1804) at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1789) at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1055) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:371) at net.minecraft.client.main.Main.main(SourceFile:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28)