Botania (Fabric/Quilt)

Botania (Fabric/Quilt)

7M Downloads

Botania and Ender IO Conduits Conflict Causes Crash

FortyTwoCn opened this issue ยท 3 comments

commented

Mod Loader

Forge

Minecraft Version

1.21.1

Botania version

botania-neoforge-1.21.1-451-SNAPSHOT

Modloader version

Neoforge208

Modpack info

No response

The latest.log file

crash-2025-09-16_15.23.51-server.txt

Issue description

A occurs when Ender IO Redstone Conduits are placed adjacent to Botania's Mana Pool (or when the conduit network ticks near a non-Mana-Pool block). The root cause is that forcibly casts the block entity to without prior type checking, leading to a crash when the block entity is actually from another mod (e.g., Ender IO's ).java.lang.ClassCastExceptionManaPoolBlock.getAnalogOutputSignal()ManaPoolBlockEntityConduitBundleBlockEntity

Crash Details
Minecraft Version: 1.21.1
Botania Version: 451-SNAPSHOT (neoforge-1.21.1)
Loader: NeoForge 21.1.208
Affected Class/Method: (Line 189)vazkii.botania.common.block.mana.ManaPoolBlock.getAnalogOutputSignal()

java.lang.ClassCastException: class com.enderio.conduits.common.conduit.bundle.ConduitBundleBlockEntity cannot be cast to class vazkii.botania.common.block.block_entity.mana.ManaPoolBlockEntity
at TRANSFORMER/botania@451-SNAPSHOT/vazkii.botania.common.block.mana.ManaPoolBlock.getAnalogOutputSignal(ManaPoolBlock.java:189)

Steps to reproduce

No response

Other information

No response

commented

EnderIO has fixed this issue. This issue is closed

commented

I'd say this is mostly on EnderIO to fix. They should not be applying block logic to places that don't have that block type.

commented

Same issue on 1.20.1, apparently: Team-EnderIO/EnderIO#1085