java.lang.ClassCastException: net.minecraft.block.state.BlockStateContainer$StateImplementation cannot be cast to net.minecraftforge.common.IPlantable

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 xWoom
, 1 year ago
net.minecraft.block.state.BlockStateContainer$StateImplementation cannot be cast to net.minecraftforge.common.IPlantable
java.lang.ClassCastException: net.minecraft.block.state.BlockStateContainer$StateImplementation cannot be cast to net.minecraftforge.common.IPlantable
at com.progwml6.natura.world.worldgen.berry.nether.NetherBerryBushGenerator.findGround(NetherBerryBushGenerator.java:210)
at com.progwml6.natura.world.worldgen.berry.nether.NetherBerryBushGenerator.generateBush(NetherBerryBushGenerator.java:30)
at com.progwml6.natura.world.worldgen.BerryBushGenerator.generateNether(BerryBushGenerator.java:175)
at com.progwml6.natura.world.worldgen.BerryBushGenerator.generate(BerryBushGenerator.java:53)
at net.minecraft.world.chunk.Chunk.func_186034_a(Chunk.java:1001)
at net.minecraft.world.chunk.Chunk.func_186030_a(Chunk.java:974)
at net.minecraft.world.gen.ChunkProviderServer.func_186025_d(ChunkProviderServer.java:154)
at net.minecraft.world.World.func_72964_e(World.java:303)
at net.minecraft.world.World.func_175726_f(World.java:298)
at net.minecraft.world.World.func_180495_p(World.java:842)
at net.minecraft.world.chunk.Chunk.func_76594_o(Chunk.java:1257)
at net.minecraft.world.WorldServer.func_147456_g(WorldServer.java:393)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:698)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:240)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception.

Write tip

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