java.lang.ClassCastException: net.bdew.pressure.blocks.gas.TileTankGasInput cannot be cast to mekanism.api.gas.IGasHandler

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 bdew
, 1 year ago
net.bdew.pressure.blocks.gas.TileTankGasInput cannot be cast to mekanism.api.gas.IGasHandler
java.lang.ClassCastException: net.bdew.pressure.blocks.gas.TileTankGasInput cannot be cast to mekanism.api.gas.IGasHandler
at mekanism.common.multipart.PartPressurizedTube.getCachedAcceptor(PartPressurizedTube.java:270)
at mekanism.common.multipart.PartPressurizedTube.getCachedAcceptor(PartPressurizedTube.java:24)
at mekanism.common.multipart.MultipartTransmitter.getAcceptor(MultipartTransmitter.java:72)
at mekanism.api.transmitters.DynamicNetwork.updateTransmitterOnSide(DynamicNetwork.java:109)
at mekanism.api.transmitters.DynamicNetwork.commit(DynamicNetwork.java:71)
at mekanism.api.transmitters.TransmitterNetworkRegistry.commitChanges(TransmitterNetworkRegistry.java:202)
at mekanism.api.transmitters.TransmitterNetworkRegistry.tickEnd(TransmitterNetworkRegistry.java:101)
at mekanism.api.transmitters.TransmitterNetworkRegistry.onTick(TransmitterNetworkRegistry.java:91)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_200_TransmitterNetworkRegistry_onTick_ServerTickEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:72)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:168)
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:731)
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:156)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:536)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.