Для стандартного портала 3х3:
@Override
public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int p_149727_6_, float hitX, float hitY, float hitZ) {
if (!world.isRemote) {
// проверка что блок снизу является порталом в Край
if...