mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-10-27 20:07:39 +00:00
Make cable collision boxes more accurate for cables
Each cable segment is added to the list, meaning you can get close and snugly with the cables.
This commit is contained in:
@@ -218,6 +218,12 @@ public abstract class BlockGeneric extends Block implements
|
||||
return FULL_BLOCK_AABB;
|
||||
}
|
||||
|
||||
@Override
|
||||
public AxisAlignedBB getSelectedBoundingBox( IBlockState state, World worldIn, BlockPos pos )
|
||||
{
|
||||
return getBoundingBox( state, worldIn, pos ).offset( pos );
|
||||
}
|
||||
|
||||
@Override
|
||||
public final AxisAlignedBB getCollisionBoundingBox( IBlockState state, World world, BlockPos pos )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user