java.lang.ClassCastException

net.minecraft.block.BlockAir cannot be cast to mekanism.client.render.ctm.ICTMBlock

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web19016

  • net.minecraft.block.BlockAir cannot be cast to mekanism.client.render.ctm.ICTMBlock
  • via GitHub by vadimyer
    , 1 year ago
    net.minecraft.block.BlockAir cannot be cast to cofh.thermaldynamics.duct.BlockDuct
  • net.minecraft.block.BlockAir cannot be cast to com.carpentersblocks.block.BlockCoverable
  • Stack trace

    • java.lang.ClassCastException: net.minecraft.block.BlockAir cannot be cast to mekanism.client.render.ctm.ICTMBlock at mekanism.client.render.ctm.CTM.canConnect(CTM.java:320) at mekanism.client.render.ctm.CTM.isConnected(CTM.java:301) at mekanism.client.render.ctm.Dir.isConnected(Dir.java:81) at mekanism.client.render.ctm.CTM.buildConnectionMap(CTM.java:191) at mekanism.client.render.ctm.CTM.createSubmapIndices(CTM.java:154) at mekanism.client.render.ctm.CTMBlockRenderContext.<init>(CTMBlockRenderContext.java:26) at mekanism.common.block.BlockBasic.getExtendedState(BlockBasic.java:217) at net.minecraft.client.renderer.BlockRendererDispatcher.func_175018_a(BlockRendererDispatcher.java:80) at mods.betterfoliage.client.Hooks.renderWorldBlock(Hooks.kt:97) at net.minecraft.client.renderer.chunk.RenderChunk.func_178581_b(RenderChunk.java:199) at net.minecraft.client.renderer.chunk.ChunkRenderWorker.func_178474_a(SourceFile:100) at net.minecraft.client.renderer.chunk.ChunkRenderWorker.run(SourceFile:43) at java.lang.Thread.run(Unknown Source)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.