A fork changes the portal mod's teleport radius from 6 chunks to 2.
This will ensure that only the items(no walls) on the portal will be teleported.
If you think it's too small, you can find a larger 3-block version [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2820674302]here[/url].
Completely compatible with [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2743182728]the original mod[/url] or the 3 chunks version.
All credit for the original mod goes to 22点下 and 昏闇.