[Bits and Chisels] rope pulley with default empty collision box can destroy any blocks below when extending
aria1th opened this issue ยท 4 comments
Describe the Bug
Bit collection block has no default collision from its state, but its last block of the pulley, which makes collision check empty and extend even if block was there.
Reproduction Steps
put "bit collection block" below rope pulley and extend it .
It breaks everything below and extends.
Expected Result
It should stop extending. Can be solved by adding this line:
if (info.state.hasBlockEntity()){ cachedColliders.add(info.pos); continue; }
Screenshots and Videos
No response
Crash Report or Log
No response
Operating System
Windows 10
Mod Version
0.4.0d
Minecraft Version
1.18.1
Other Mods
https://github.com/CoolMineman/BitsAndChisels
Additional Context
This is occured from TranslatingContraption.getColliders, it does not return anything because bit block's default collision shape is Empty.
info.state.getCollisionShape(world, offsetPos)
This is likely an issue on forge as well, could you test there with chisel and bits?
It says "Unmovable block (Chiseled Rock) in [X Y Z]", so likely its only in fabric