This PR moves BlockCable's conversion from VoxelShapeComponents to a vanilla VoxelShape into the more generic getShape function, rather than getCollisionShape. This makes the conversion apply to the block's occlusion shape as well and not just the collision shape.
This is needed to fix a compatibility issue with Moonrise which cannot handle the custom VoxelShapeComponents implementation. I suspect it might also fix some as-of-yet-unknown issue with cable occlusion, as the occlusion logic uses VoxelShape operations just like entity collisions.
This PR moves
BlockCable
's conversion fromVoxelShapeComponents
to a vanillaVoxelShape
into the more genericgetShape
function, rather thangetCollisionShape
. This makes the conversion apply to the block's occlusion shape as well and not just the collision shape.This is needed to fix a compatibility issue with Moonrise which cannot handle the custom
VoxelShapeComponents
implementation. I suspect it might also fix some as-of-yet-unknown issue with cable occlusion, as the occlusion logic uses VoxelShape operations just like entity collisions.